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

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

Hi James, thanks for finding this. I'm actually working on a unit test to 
reproduce, although I agree you've found a bug and your patch should address 
it. Just dotting all the i's, so to speak.

                
> 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: Future
>
>         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