netty fires channelClosed() event when client only half close

Trustin Lee (이희승) trustin at gmail.com
Thu Oct 8 23:05:51 EDT 2009


Hi Huican,

Netty does not have the notion of half close at the moment
unfortunately.  I'd like to implement it in the next feature release
though.  Please feel free to file a JIRA issue so that I can revisit
it later.

Thanks for a great idea!

— Trustin Lee, http://gleamynode.net/



On Fri, Oct 9, 2009 at 2:49 AM, Huican Ping <pinghuican at gmail.com> wrote:
>
> Hello Trustin,
>
> We just noticed that when the client half closes the socket (such as when
> write data is done, client close socket for write, but still want to read),
> the netty always fires channelClosed() event.
>
> Is there anyway to know whether it is a total close or half close?
>
> The client sends data --> client half close (write done) --> client tries to
> read the response back.
>
>
> --
> View this message in context: http://n2.nabble.com/netty-fires-channelClosed-event-when-client-only-half-close-tp3789745p3789745.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