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

AsyncHttpFetch hangs forever after ProxyClientSession changes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.2.0, 7.0.0
    • Component/s: Core, CPP API
    • Labels:

      Description

      I'm porting what Mathias Biilmann Christensen reported in https://github.com/apache/trafficserver/pull/570 here:

      This pull request also seems to break one of our plugins that does HTTP requests in a background worker thread via TSFetchUrl (used indirectly through the AsyncHttpFetch C++ API).

      The HTTP request will hang at this check for the right thread and never progress:

      https://github.com/apache/trafficserver/pull/570/files#diff-40fc32ab3504372e0eb74a54108d1b6fR2404

      Removing these checks for the right thread leads to a segfault.

        Attachments

        1. ats-ts-4478.zip
          6 kB
          Mathias Biilmann Christensen

          Issue Links

            Activity

              People

              • Assignee:
                shinrich Susan Hinrichs
                Reporter:
                calavera David Calavera
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: