hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alin Vasile (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HTTPCORE-277) Please expose TCP keep-alive (SO_KEEPALIVE)
Date Thu, 22 Sep 2011 07:55:26 GMT

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

Alin Vasile updated HTTPCORE-277:
---------------------------------

    Attachment: keepalive.diff

a small patch (not tested with an actual web server)

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


Mime
View raw message