Сhannel closes in 10 seconds
Steve
shadders.del at gmail.com
Fri Sep 30 07:34:15 EDT 2011
send a keep-alive packet every 5 seconds
On 30/09/11 21:15, ups wrote:
> 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.
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
More information about the netty-users
mailing list