hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Moore (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HTTPCLIENT-1024) cache no longer successfully validates multiple variants
Date Sun, 28 Nov 2010 13:28:37 GMT

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

View raw message