lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] Created: (SOLR-1746) CommonsHttpSolrServer passes a ContentStream reader to IOUtils.copy, but doesnt close it.
Date Tue, 02 Feb 2010 13:46:19 GMT
CommonsHttpSolrServer passes a ContentStream reader to IOUtils.copy, but doesnt close it.
-----------------------------------------------------------------------------------------

                 Key: SOLR-1746
                 URL: https://issues.apache.org/jira/browse/SOLR-1746
             Project: Solr
          Issue Type: Bug
    Affects Versions: 1.4
            Reporter: Mark Miller
             Fix For: 1.5


IOUtils.copy will not close your reader for you:

{code}
                    @Override
                    protected void sendData(OutputStream out)
                        throws IOException {
                      IOUtils.copy(c.getReader(), out);
                    }
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message