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

Oleg Kalnichevski resolved HTTPCORE-277.
----------------------------------------

    Resolution: Fixed

Submitted slightly modified version of the patch. Also added support for 
SO_KEEPALIVE parameter to NIO components.

Oleg
                
> Please expose TCP keep-alive (SO_KEEPALIVE)
> -------------------------------------------
>
>                 Key: HTTPCORE-277
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-277
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>            Reporter: Geir Harald Hansen
>             Fix For: 4.2-alpha3
>
>         Attachments: keepalive.diff
>
>
> It would be useful if it was possible to turn on TCP keep-alive 
> (java.net.Socket.setKeepAlive) for a connection used for long polling (aka 
> comet).
> Some users these days are behind NAT routers that kill idle connections after 
> as little as 5 minutes. TCP keep-alive could be a solution to keep long poll 
> connections alive (and idle) longer than 5 minutes.

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to