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 subversion and git services (JIRA)" <ji...@apache.org> on 2015/11/20 15:49:11 UTC

[jira] [Commented] (TS-3885) Regression tests SDK_API_TSNetVConn and SDK_API_TSPortDescriptor run forever

    [ https://issues.apache.org/jira/browse/TS-3885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15018109#comment-15018109 ] 

ASF subversion and git services commented on TS-3885:
-----------------------------------------------------

Commit 9dc6dabed9afcde8199db1c2debc62d72274ea4e in trafficserver's branch refs/heads/master from [~jkenny]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=9dc6dab ]

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).
This close #313.


> 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)