Details
Description
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.