You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2010/02/02 14:46:19 UTC
[jira] Created: (SOLR-1746) CommonsHttpSolrServer passes a
ContentStream reader to IOUtils.copy, but doesnt close it.
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.
[jira] Resolved: (SOLR-1746) CommonsHttpSolrServer passes a
ContentStream reader to IOUtils.copy, but doesnt close it.
Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Miller resolved SOLR-1746.
-------------------------------
Resolution: Fixed
Assignee: Mark Miller
> 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
>
>
> 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.