Endless loop after shutdown
Trustin Lee (이희승)
trustin at gmail.com
Mon Nov 16 03:30:56 EST 2009
On Mon, Nov 16, 2009 at 5:27 PM, Thomas Bocek <bocek at ifi.uzh.ch> wrote:
> Hi Trustin,
>
> Trustin Lee (이희승) wrote:
> was some time ago. Anyway
>> I'll post to netty-dev. Good night.
>>
>> To sum up:
>>
>> 1) There's no need to call SelectionKey.cancel() before calling Channel.close()
>> 2) Hence, there's the proposed patch should be be unapplied.
>>
>> I removed unnecessary SelectionKey.cancel() calls and the
>> synchronization block. Please give the latest build a try and let me
>> know if you find any regression:
>>
>> http://hudson.jboss.org/hudson/view/Netty/job/netty/793/
>
> Thanks, I'll try it out. The reason for the endless loop was not in
> Netty, although after applying the patch, it did not show up in my
> previous tests anymore (sorry, wrong conclusion). However, I had the
> same issues after running my app for several hours. In some cases, I
> shutdown my app with an incoming connection still present. I figured
> out, that I did not close it properly with a channelgroup.
Great. Will look forward to your another feed back.
Cheers
— Trustin Lee, http://gleamynode.net/
More information about the netty-dev
mailing list