You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2014/04/10 22:42:15 UTC

[jira] [Resolved] (TS-2691) Counting redirects in the core seems totally wrong

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

Leif Hedstrom resolved TS-2691.
-------------------------------

    Resolution: Fixed

> Counting redirects in the core seems totally wrong
> --------------------------------------------------
>
>                 Key: TS-2691
>                 URL: https://issues.apache.org/jira/browse/TS-2691
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core, HTTP
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 5.0.0
>
>
> The use of the SM's redirection_tries counter in the core seems totally wrong. And, and as far, as I can tell, it does not do what you'd expect when you e.g. change the global config (which does nothing really).
> My suggestion is to change it such that this becomes a normal counter, starting at zero (0), and we increment it on each redirect. This sort of is inline with what some of the code expects, it's just not consistently done so. Some code seems to assume that the counter starts at the maximum redirects, and that it should decrement from there (which never happens).



--
This message was sent by Atlassian JIRA
(v6.2#6252)