On 25/04/2013 14:11, André Warnier wrote:

> Sorry to butt in, but the issue interests me in another context.
> My question : is there any kind of I/O operation that a servlet could do
> to the response stream (even in-between two real "data" I/O) which would
> be guaranteed to return an error if the client has closed the connection
> in the meantime, no matter which Connector implementation underlies it ?
> It would have to be something which does not really send any real data
> byte, so as not to corrupt a response that may be partially under way. 
> Some kind of "ping", to say it otherwise.

With the current Servlet API, no.

With direct access to the socket:
BIO - no
NIO - yes
APR - don't know

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to