[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145808#comment-13145808
 ] 

Jon Moore commented on HTTPCLIENT-1143:
---------------------------------------

Patch checked in to trunk with slight modifications, including unit test to 
reproduce. Thanks, James! I'll work on getting this ported to the release 
branches next.

                
> CachingHttpClient leaks connections with stale-if-error
> -------------------------------------------------------
>
>                 Key: HTTPCLIENT-1143
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1143
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: Cache
>    Affects Versions: 4.1.2, 4.2 Alpha1
>            Reporter: James Miller
>            Assignee: Jon Moore
>            Priority: Critical
>              Labels: cache, stale-if-error
>             Fix For: 4.1.3, 4.2 Alpha2
>
>         Attachments: httpclient-1143.patch
>
>
> If you are using the "stale-if-error" Cache-control header and 
> CachingHttpClient decides to use a stale cached response it does not clean up 
> the existing backend response.
> This bug causes connections to leak from the connection pool each time the 
> stale-if-error flow is executed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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