Steve Molloy created SOLR-4266:
----------------------------------

             Summary: HttpSolrServer does not release connection properly on 
exception when no response parser is used
                 Key: SOLR-4266
                 URL: https://issues.apache.org/jira/browse/SOLR-4266
             Project: Solr
          Issue Type: Bug
          Components: clients - java
    Affects Versions: 4.0
            Reporter: Steve Molloy


When using HttpSolrServer for requests with no response parser, any unpredicted 
status code (401, 500...) will throw the exception properly, but will not close 
the connection. Since no handle for connection is returned in case of 
exception, it should be closed. So only case where it should not be closed is 
when the stream is actually returned, that is, when no response parser is used 
and the call is successful.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to