You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/06/01 20:44:59 UTC
[jira] [Commented] (TS-4478) AsyncHttpFetch hangs forever after
ProxyClientSession changes
[ https://issues.apache.org/jira/browse/TS-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15311072#comment-15311072 ]
ASF GitHub Bot commented on TS-4478:
------------------------------------
GitHub user shinrich opened a pull request:
https://github.com/apache/trafficserver/pull/688
TS-4478: AsyncHttpFetch hangs since ProxyClientSession changes.
If the original thread is not a ET_NET thread, we should be rescheduling on it. Otherwise, take over the current ET_NET thread as the operating thread for this transaction.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/shinrich/trafficserver ts-4478
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/688.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #688
----
commit 517ae4a380976343dbbab64ba17dccfd4d8f5114
Author: Susan Hinrichs <sh...@ieee.org>
Date: 2016-06-01T20:42:07Z
TS-4478: AsyncHttpFetch hangs since ProxyClientSession changes.
----
> 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)