You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Felix Buenemann (JIRA)" <ji...@apache.org> on 2016/04/30 03:49:13 UTC

[jira] [Created] (TS-4396) Off-by-one error in max redirects with redirection enabled

Felix Buenemann created TS-4396:
-----------------------------------

             Summary: Off-by-one error in max redirects with redirection enabled
                 Key: TS-4396
                 URL: https://issues.apache.org/jira/browse/TS-4396
             Project: Traffic Server
          Issue Type: Bug
            Reporter: Felix Buenemann


There is a problem in the current stable version 6.1.1 where the setting proxy.config.http.number_of_redirections = 1 is incorrectly checked when following origin redirects by setting proxy.config.http.redirection_enabled = 1.

If the requested URL is not already cached, ATS returns the redirect response to the client instead of storing the target into the cache and returning it to the client.

The problem can be fixed by using proxy.config.http.number_of_redirections = 2, but we are only following one redirect, so this is wrong.



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