Thanks.  That's what I always thought.  I was troubleshooting an issue, and
wanted to rule that out.  My reading of the code confirms that too...
Regards,
Sangjin

On Tue, Aug 25, 2009 at 5:55 AM, Julien Vermillard
<[email protected]>wrote:

> Le Sun, 23 Aug 2009 09:21:20 -0700,
> Sangjin Lee <[email protected]> a écrit :
>
> > This might be a simple question to answer, but thought I'd ask anyway.
> > Suppose you have a valid (HTTP) request and a valid response at the
> > end of which the server closes the connection.  But the full response
> > is properly sent to a MINA client.  From the client perspective, is
> > it ever possible for sessionClosed() to fire while messageReceived()
> > (and decoding) is in flight? Let's say this is on MINA 1.1.x.
> >
> > I've gone over the SocketIoProcessor code and also the filter chain,
> > and it seems that sessionClosed() in this case should always happen
> > *after messageReceived() (and decoding) is complete
> > (SocketIoProcessor.run())*. I'm trying to see if we're running into
> > this issue and if this is a valid condition whether I need to guard
> > against it.  Thanks!
> >
> > Sangjin
>
> For me sessionClosed is fired after any message received.
> Julien
>

Reply via email to