You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Brian Geffon (JIRA)" <ji...@apache.org> on 2015/03/14 00:01:41 UTC

[jira] [Resolved] (TS-3439) Chunked responses don't honor keep-alive

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

Brian Geffon resolved TS-3439.
------------------------------
    Resolution: Fixed

> Chunked responses don't honor keep-alive
> ----------------------------------------
>
>                 Key: TS-3439
>                 URL: https://issues.apache.org/jira/browse/TS-3439
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Thomas Jackson
>            Assignee: Brian Geffon
>             Fix For: 5.3.0
>
>
> If you have ATS configured with keep_alive out disabled, and an origin that responds with transfer-encoding chunked ATS puts the connection on the keepalive pool after the transfer is finished. Since keep_alive_out is disabled the request contains a connection close header. This means that we now have a race condition between the origin actually closing the tcp session (assuming its well behaved) and ATS re-using that keep-alive session (which it shouldn't have kept).
> This means not only are we disobeying the configuration (which specified no keep-alive) but we are "breaking" connections-- as they will 502 (since the tunnel will be shutdown).
> test case: https://github.com/jacksontj/trafficserver/commit/e221e91ad6466ef840f74a1016b8d51c821eb1e9#diff-ed49610150c2617c50f28a047a07c126R130



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