Close all open connections without delay
"Trustin Lee (이희승)"
trustin at gmail.com
Sun Jun 6 22:58:07 EDT 2010
Hi Norman,
That is weird. When you call ChannelGroup.close(), it merely calls
close() on all sockets immediately. Could you post the full thread dump
of the application when it hangs?
Thanks,
Trustin
Norman Maurer wrote:
> Hi all,
>
> I need to close all open channels when shutdown the server. I tried to
> use ChannelGroup the same way as it is descripted in javadocs. The
> problem is when I try to "force" to close all open channels via
> ChannelGroup.close().await...(); it hangs till I press "enter" on the
> terminal where I simulate the client via telnet.
>
> Thats a problem I really need to be sure that it close asap.
>
> Any ideas ?
>
> Bye,
> Norman
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
--
what we call human nature in actuality is human habit
http://gleamynode.net/
More information about the netty-users
mailing list