Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3980

Investigate and remove the empty doc cache setting

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Cache
    • None

    Description

      Refer TS-3978, TS-3979

      Caching of empty docs is slightly trickier on ATS, since, it is not clear whether the empty body is a real empty response from the Origin server or a consequence of broken response (connection). Currently, this is controlled via a config setting allow_empty_doc with additional logic such as Content-Length=0 to make sure it's a valid empty response from Origin server.

      The current logic however misses handling valid empty response with no Content-Length=0 header (e.g Chunked TE, SPDY/H2 outbound etc).

      Opening jira to investigate how to safely (i.e ensuring the response is not a result of broken connection) remove the allow_empty_doc setting and to be able to generically cache empty docs similar to any other response.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sudheerv Sudheer Vinukonda
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: