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

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

GitHub user pushkarpradhan opened a pull request:

    https://github.com/apache/trafficserver/pull/287

    Fixing TS-3885 by writing data on the client socket

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/pushkarpradhan/trafficserver fixtests

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/287.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 #287
    
----
commit 4cbf351d014c50521418b9eae50557ea97e427f4
Author: Pushkar Pradhan <pprad...@apache.org>
Date:   2015-09-02T23:46:33Z

    Fixing TS-3885 by writing data on the client socket

----


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