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

Traffic server crashes when there is a redirect response in cache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.1
    • 5.2.1, 5.3.0
    • HTTP

    Description

      Traffic server will crash in below steps:
      1. Enable redirect and http cache, make sure that traffic server can cache redirect request & redirect response such as 302/307 response.
      2. make a remap url in traffic server which will remap to a redirect url 'redirect_url_1' which points to 'www.google.com' ( note that 'www.google.com' is also a redirect url which may point to 'www.google.com.sg')
      3. make number_of_redirections=1 in records.config.
      4. access the 'redirect_url_1'. At first time, after access it, traffic server will cache the redirect response such as 307.
      5. try to access the 'redirect_url_1' again, this time traffic server will crash.

      The root cause is that in above case, traffic sever will check the cache in a loop definitely which will exhausted the stack space.

      Attachments

        1. TS-3140.diff
          0.8 kB
          zouyu
        2. TS-3140-2.diff
          6 kB
          Susan Hinrichs

        Issue Links

          Activity

            People

              shinrich Susan Hinrichs
              zouy zouyu
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: