Hello,

Without knowing the application and going on standard sockets, I know from 
experience without using Async mode that Tomcat does generate a 
ClientAbortException when a TCP RST is received from a client when Tomcat is 
writing the HTTP response to the client.

The client was a CPE which downloaded firmware/config via HTTP and sent a TCP 
RST after the first chunk of data if the version on the server and in the CPE 
were identical.  Not sure if this is relevant and what the behaviour of your 
client would be for "disconnecting" from the server (assuming it's not a web 
browser).

Regards,

Justin Randall
Sent from my BlackBerry device

-----Original Message-----
From: Ben <xpsl...@gmail.com>
Date: Sun, 5 Dec 2010 14:25:56 
To: Tomcat Users List<users@tomcat.apache.org>
Reply-To: "Tomcat Users List" <users@tomcat.apache.org>
Subject: Can tomcat detect disconnection by client side in Async mode?

Hi there,

Any idea about the disconnection handling? Cannot find reference for this.

In my application the client may disconnect and send a new request with 
different parameters. On server side I wanna clean the AsynContext held by 
previous request. Right now only timeout will do, which is not efficient cos I 
set the timeout to quite high value to avoid frequent disconnect / connect.

Thanks for help.

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


Reply via email to