Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-997

cache module should handle out-of-order validations properly and unconditionally refresh

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1 Alpha2
    • 4.1 Beta1
    • HttpCache
    • None

    Description

      There is a protocol recommendation that when we attempt to revalidate a cache entry, but we receive a response that has a Date header that's actually older than that of our current entry, we SHOULD revalidate again unconditionally with either max-age=0 or no-cache (since some upstream cache would appear to be out-of-date).

      http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.2.6

      Attachments

        1. unconditional-retry-validate.patch
          86 kB
          Jonathan Moore

        Activity

          People

            Unassigned Unassigned
            cimjmoore Jonathan Moore
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: