lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-1746) CommonsHttpSolrServer passes a ContentStream reader to IOUtils.copy, but doesnt close it.
Date Fri, 28 May 2010 03:06:36 GMT

     [ https://issues.apache.org/jira/browse/SOLR-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hoss Man updated SOLR-1746:
---------------------------

    Fix Version/s: 3.1
                   4.0


Correcting Fix Version based on CHANGES.txt, see this thread for more details...

http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E


> 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
>            Assignee: Mark Miller
>             Fix For: 1.5, 3.1, 4.0
>
>
> 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.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message