You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2012/08/06 14:18:02 UTC

[jira] [Resolved] (HTTPCORE-306) TCP_NODELAY defaults to false

     [ https://issues.apache.org/jira/browse/HTTPCORE-306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCORE-306.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.2.2

Fix committed to SVN trunk and 4.2.x branch.

Oleg
                
> TCP_NODELAY defaults to false
> -----------------------------
>
>                 Key: HTTPCORE-306
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-306
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore NIO
>            Reporter: Daniel Kulp
>             Fix For: 4.2.2
>
>
> The default for TCP_NODELAY in the IOReactorConfig is currently false.  This may be fine for GET requests where the entire request is sent as a single packet, but it KILLS performance for even simple POST/PUT requests as it waits for the ack for the headers before sending any of the body.   It's obviously easily worked around by setting it to true, but it likely should be the default to make sure that "out of the box" performance is fairly reasonable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org