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

AsyncHttpFetch hangs forever after ProxyClientSession changes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.2.0, 7.0.0
    • Core, CPP API

    Description

      I'm porting what biilmann 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

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

              Dates

                Created:
                Updated:
                Resolved: