[ 
https://issues.apache.org/jira/browse/TS-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mathias Biilmann Christensen updated TS-4478:
---------------------------------------------
    Attachment: ats-ts-4478.zip

This is a small example plugin that will do a background fetch of a URL.

It works correctly with e3aaf85b42d1cec3676f4db5a9560372380ec6c9, but with 
af76977adb9f3c0296a232688bbcb5a1421a6768 the background request hangs.

> AsyncHttpFetch hangs forever after ProxyClientSession changes
> -------------------------------------------------------------
>
>                 Key: TS-4478
>                 URL: https://issues.apache.org/jira/browse/TS-4478
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core, CPP API
>            Reporter: David Calavera
>            Assignee: Brian Geffon
>              Labels: regression
>             Fix For: 7.0.0
>
>         Attachments: ats-ts-4478.zip
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to