You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Sam Berlin (JIRA)" <ji...@apache.org> on 2008/03/17 19:38:24 UTC

[jira] Updated: (HTTPCLIENT-759) DefaultClientRequestDirector doesn't release connections back to ClientConnectionManager on exceptions

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

Sam Berlin updated HTTPCLIENT-759:
----------------------------------

    Attachment: changes.txt

The attached patch fixes the problem and adds two tests (that used to fail, but pass now).  It's going to conflict slightly with the patch from HTTPCLIENT-734, because both are adding the new file 'TestDefaultClientRequestDirector' -- but the merge conflict is easily resolved.

(Previously the connection would only be released during the next garbage collection [which might never happen], and could prevent subsequent requests from being tried if they were waiting on an available slot.)

> DefaultClientRequestDirector doesn't release connections back to ClientConnectionManager on exceptions
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-759
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-759
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.0 Alpha 3
>            Reporter: Sam Berlin
>         Attachments: changes.txt
>
>
> See HTTPCLIENT-747 for more info.  Basically the deal is that an entry is always allocated, but currently it's only released if execute(..) completes normally.

-- 
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@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org