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

ASF GitHub Bot commented on TS-3885:
------------------------------------

Github user SolidWallOfCode commented on the pull request:

    https://github.com/apache/trafficserver/pull/313#issuecomment-151529685
  
    This is not the kind of code I'd put in production but this is just a test 
so it should be OK. In particular there are other regression tests that test 
the write and read logic so I see no point in duplicating that here - I agree 
we should do the absolute minimum thing necessary to force the accept.


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

Reply via email to