Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1 Beta1
    • Fix Version/s: 4.1 Final
    • Component/s: HttpCache
    • Labels:
      None

      Description

      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.

        Activity

        Show
        Jon Moore added a comment - Patch applied: http://svn.apache.org/viewvc?view=revision&revision=1043717
        Hide
        Jonathan Moore added a comment -

        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.

        Show
        Jonathan Moore added a comment - 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.

          People

          • Assignee:
            Jon Moore
            Reporter:
            Jonathan Moore
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development