Netty dead connects
sifman
watsis at hotmail.com
Fri Jan 7 12:18:43 EST 2011
I apologise if this has been posted before. I did scan through some of the
messages and didn't really find anything related.
I just want to know if there is a standard way of dealing with potential
"dead" connections. I know when I still used MINA I was able to check the
last time there was a successful write on the connection
(ioSession.getLastWriteTime()). By doing that I could determine if I'm
dealing with an unusual long idle connection.
Is there an equivalent way of accomplishing this with Netty? From what I
see in the Channel API it is not so straightforward to do this.
Hopefully I'm missing something.
Any help is appreciated.
--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Netty-dead-connects-tp5900060p5900060.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list