Re: Сhannel closes in 10 seconds
ups
handsome.ups at gmail.com
Fri Sep 30 07:15:46 EDT 2011
Handler has simple logic:
public void messageReceived(ChannelHandlerContext ctx, MessageEvent e) {
System.out.println("Message size: " +
((ChannelBuffer)e.getMessage()).readableBytes());
System.out.println(((ChannelBuffer)e.getMessage()).toString(CharsetUtil.UTF_8));
}
I think I found the problem. I'm connecting on accounts.google.com:443. And
looks like that current host set timeout for this channel (10 seconds). You
see, i want to implement proxy with ssl tunneling and I have to keep this
channel alive. What can You say about this?
--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/hannel-closes-in-10-seconds-tp6847300p6847478.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list