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

Jonathan Moore updated HTTPCLIENT-1024:
---------------------------------------

    Attachment: variant-bugfix.patch

The attached patch includes a unit test in TestProtocolRecommendations that 
exposes the bug, plus the one-line fix to CachingHttpClient that fixes it.

This patch is submitted to the ASF with the permission of my employer.


> cache no longer successfully validates multiple variants
> --------------------------------------------------------
>
>                 Key: HTTPCLIENT-1024
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1024
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: Cache
>            Reporter: Jonathan Moore
>         Attachments: variant-bugfix.patch
>
>
> There is a bug in CachingHttpClient, where when we attempt to collect all the 
> etags for existing cached variants so we can send a conditional request to 
> the origin, we accidentally don't find any, and send an unconditional request 
> instead.

-- 
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]

Reply via email to