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 2011/05/20 02:48:47 UTC

[jira] [Resolved] (TS-769) traffic server loops forever if the origin sends back a 505 and the connection is keep-alive

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

Bryan Call resolved TS-769.
---------------------------

    Resolution: Fixed

Resolved according to the description of the bug.

> traffic server loops forever if the origin sends back a 505 and the connection is keep-alive
> --------------------------------------------------------------------------------------------
>
>                 Key: TS-769
>                 URL: https://issues.apache.org/jira/browse/TS-769
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 2.1.8
>         Environment: This was observed in the Yahoo! version of traffic server
>            Reporter: Bryan Call
>            Assignee: Bryan Call
>             Fix For: 2.1.9
>
>
> Traffic server tries to downgrade the connection/protocol when it gets back a 505 from the origin server.  First it removes keep-alive and retries, then traffic sever start to downgrade the http protocol version and retry.
> However, another part of the code turns keep-alive back on and traffic server will loop turning on and off keep-alive and making the same request to the origin server.
> I fixed the issue in the Yahoo! tree by alway downgrade keep-alive and protocol version together.  This will eventually stop after it has tried HTTP/0.9.  Also, I added an option to not downgrade and retry at all when getting a 505.
> I have to verify that this is also an issue with the Apache tree.  I looked over the code and it doesn't look like it changed at all from the Yahoo! tree, so the bug should also be there.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira