[
https://issues.apache.org/jira/browse/TS-3885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14976480#comment-14976480
]
ASF GitHub Bot commented on TS-3885:
------------------------------------
GitHub user dragon512 opened a pull request:
https://github.com/apache/trafficserver/pull/313
Fix issue with TS-3885. Changes to TSNetVConn test to prevent it from…
… hanging when the defer_accept is set ( via config or kernel option)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dragon512/trafficserver master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/313.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 #313
----
commit 1b06bf7f86a8d3fda29493bc68d0e82e4b89029d
Author: Jason Kenny <[email protected]>
Date: 2015-10-27T14:30:35Z
Fix issue with TS-3885. Changes to TSNetVConn test to prevent it from
hanging when the defer_accept is set ( via config or kernel option)
----
> Regression tests SDK_API_TSNetVConn and SDK_API_TSPortDescriptor run forever
> ----------------------------------------------------------------------------
>
> Key: TS-3885
> URL: https://issues.apache.org/jira/browse/TS-3885
> Project: Traffic Server
> Issue Type: Bug
> Components: TS API
> Reporter: Pushkar Pradhan
> Assignee: Pushkar Pradhan
> Fix For: 6.1.0
>
>
> The regression tests SDK_API_TSNetVConn and SDK_API_TSPortDescriptor run
> forever. This happens because on a vanilla build
> proxy.config.net.defer_accept is non-zero.
> If this value is non-zero it tells the kernel on the server to notify the
> listening process only when the client sends any data on the socket.
> Since the client_handler code in these tests never sends any data, the
> server_handler is never invoked.
> Since the server_handler code is the one that sets the regression test as
> passed, it just runs forever.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)