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

Experimental TSHttpTxnCacheLookupStatusSet(HIT_STALE) calls cause a crash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.7, 2.1.6, 2.1.5, 2.1.4
    • 2.1.8
    • HTTP
    • None
    • Any

    Description

      If you use the API TSHttpTxnCacheLookupStatusSet() which is in experimental.h but is potentially very handy, and you set the status to HIT_STALE TS asserts. The code where it does that seems to be assuming that it is talking to a parent proxy, but in our setup was talking to the origin server. The fix seems pretty simple to make it handle talking to a origin server.

      Attachments

        1. svn3.diff
          2 kB
          William Bardwell

        Activity

          People

            zwoop Leif Hedstrom
            wbardwel William Bardwell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: