You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2016/08/17 15:47:21 UTC

[jira] [Closed] (TS-3980) Investigate and remove the empty doc cache setting

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

Bryan Call closed TS-3980.
--------------------------
       Resolution: Duplicate
    Fix Version/s:     (was: sometime)

If we implement TS-3978 then we should remove this option.

> Investigate and remove the empty doc cache setting
> --------------------------------------------------
>
>                 Key: TS-3980
>                 URL: https://issues.apache.org/jira/browse/TS-3980
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Cache
>            Reporter: Sudheer Vinukonda
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)