[JBoss JIRA] Updated: (NETTY-219) Add a upstream handler to automatically close idle connections
Thomas Bocek
bocek at ifi.uzh.ch
Thu Sep 3 15:09:16 EDT 2009
Elias, did you look at org.jboss.netty.handler.timeout.* ? I think there
are some useful handlers for timeouts. If a timeout occurs, an exception
is thrown, and you can close the channel.
Thomas
Elias Ross (JIRA) wrote:
> [ https://jira.jboss.org/jira/browse/NETTY-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Elias Ross updated NETTY-219:
> -----------------------------
>
> Attachment: UpstreamIdleHandler.java
>
>
>> Add a upstream handler to automatically close idle connections
>> --------------------------------------------------------------
>>
>> Key: NETTY-219
>> URL: https://jira.jboss.org/jira/browse/NETTY-219
>> Project: Netty
>> Issue Type: Feature Request
>> Components: Handler
>> Reporter: Elias Ross
>> Assignee: Trustin Lee
>> Attachments: UpstreamIdleHandler.java
>>
>>
>> Most servers close idle connections (no new client data received) after a certain time.
>> I created a handler to close a connection that has sent no new data.
>> See attached class as a suggested implementation.
>
More information about the netty-dev
mailing list