Keeping track of long-lived connections in HTTP?

"이희승 (Trustin Lee)" trustin at gmail.com
Wed Nov 10 21:17:42 EST 2010


Hi Nitro,

Nitrostar wrote:
> Is there a way to detect if someone's been using Keep-alive connections after
> X amount of minutes? I'm thinking about adding a timer in style with what
> IdleStateHandler does... Would this work?

Yes, it should.

> I guess a better, more direct question is: If I never add the
> ChannelFutureListener.CLOSE listener to my ChannelFutures will they remain
> opened indefinitely (assuming the client doesn't close them?)

Yes.

HTH

-- 
Trustin Lee - http://gleamynode.net/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 290 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20101111/7c489b65/attachment.bin 


More information about the netty-users mailing list