tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rémy Maucherat" <>
Subject Re: how to close a comet request outside of an event?
Date Thu, 26 Apr 2007 18:04:37 GMT
On 4/26/07, Sebastiaan van Erk <> wrote:
> I don't understand why the client does not get an immediate -1 (EOF) on
> the read() as soon as I do this. The socket itself does not need to be
> closed, but the output stream close should flush the output stream and
> call shutdownOutput() on the underlying socket.


> At the moment I have no way of asynchronously ending a response.

Calling close() on the event or on the output stream ends a response
(objects used for processing of the request will be recycled on the
next event, however).


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message