You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Molloy (JIRA)" <ji...@apache.org> on 2013/01/04 20:20:16 UTC
[jira] [Created] (SOLR-4266) HttpSolrServer does not release
connection properly on exception when no response parser is used
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org