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

TSFetchRestpGet(), TSFetchPageResptGet() and TSFetchUrl() have incorrect asserts

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.0, 3.0.1
    • Component/s: TS API
    • Labels:
      None

      Description

      The asserts cause TS to crash when these API functions are used. The asserts are incorrect as argument 'txnp' is actually not a transaction, but a FetchSM pointer as apparent in the code that follows.

      And TSFetchUrl allows continuations to make requests with no callbacks and for such code paths, the continuation check should not be done.

        Attachments

        1. inkapi.patch
          1 kB
          Manjesh Nilange

          Activity

            People

            • Assignee:
              zwoop Leif Hedstrom
              Reporter:
              manjeshnilange Manjesh Nilange
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: