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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 7.1.0
    • Core, Network
    • 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

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

              Dates

                Created:
                Updated: