Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4396

Off-by-one error in max redirects with redirection enabled

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 7.1.0
    • Component/s: Core, Network
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zym Zhao Yongming
                Reporter:
                felixbuenemann Felix Buenemann
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: