[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-dev
Subject:    [jira] Updated: (SOLR-1746) CommonsHttpSolrServer passes a
From:       "Koji Sekiguchi (JIRA)" <jira () apache ! org>
Date:       2010-05-31 2:17:36
Message-ID: 9972014.76311275272256401.JavaMail.jira () thor
[Download RAW message or body]


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

Koji Sekiguchi updated SOLR-1746:
---------------------------------

    Fix Version/s: 1.4.1

Committed revision 949651.

backported to 1.4 branch for 1.4.1


> 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.4.1, 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic