[
https://issues.apache.org/jira/browse/HTTPCLIENT-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Moore updated HTTPCLIENT-1011:
---------------------------------------
Attachment: cache-ioexception.patch
The attached patch fixes this issue; now cache IOExceptions are caught, logged
at WARN, and then ignored (hooray, HTTP protocol robustness to failure).
This patch is contributed to the ASF with the permission of my employer.
> CachingHttpClient.execute() does not catch the IOException thrown by
> HttpCache.getCacheEntry()
> ----------------------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-1011
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1011
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: Cache
> Affects Versions: 4.1 Alpha2
> Reporter: Felix Berger
> Attachments: cache-ioexception.patch
>
>
> The IOException caused by the HttpCache is not caught and thus the whole http
> request fails. I would expect the response to be retrieved from the backend
> when the cache fails for some reason.
--
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: [email protected]
For additional commands, e-mail: [email protected]