hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HTTPCORE-277) Please expose TCP keep-alive (SO_KEEPALIVE)
Date Wed, 30 Nov 2011 17:13:41 GMT

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

> 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message