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

Reply via email to