Re: Can tomcat detect disconnection by client side in Async mode?

2010-12-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 12/10/2010 5:30 PM, Caldarale, Charles R wrote: There is a Socket.isOutputShutdown() method that /might/ indicate that the client sent an RST, but the exact JRE implementation may well be platform-specific. Failing that, writing to the

Re: Can tomcat detect disconnection by client side in Async mode?

2010-12-10 Thread Michael Ludwig
Justin Randall schrieb am 07.12.2010 um 00:16 (+): 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

Re: Can tomcat detect disconnection by client side in Async mode?

2010-12-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, On 12/6/2010 4:11 PM, Michael Ludwig wrote: Ben schrieb am 05.12.2010 um 14:25 (+0800): and send a new request with different parameters. On server side I wanna clean the AsynContext held by previous request. Will the server even be

RE: Can tomcat detect disconnection by client side in Async mode?

2010-12-10 Thread Caldarale, Charles R
From: Michael Ludwig [mailto:mil...@gmx.de] Subject: Re: Can tomcat detect disconnection by client side in Async mode? Are there any servers at all that proactively notify their children or threads of aborted connections in order to stop them from serving them None that I'm aware of, since

Re: Can tomcat detect disconnection by client side in Async mode?

2010-12-06 Thread Michael Ludwig
Ben schrieb am 05.12.2010 um 14:25 (+0800): Any idea about the disconnection handling? Cannot find reference for this. In my application the client may disconnect Nitpick: It may *abort* the TCP connection. Don't know why, but it seems to me that this is only ever called disconnect by

Re: Can tomcat detect disconnection by client side in Async mode?

2010-12-06 Thread Justin Randall
). 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 Listusers@tomcat.apache.org Reply-To: Tomcat Users List users@tomcat.apache.org Subject: Can tomcat detect disconnection by client side in Async

Re: Can tomcat detect disconnection by client side in Async mode?

2010-12-06 Thread Justin Randall
, 7 Dec 2010 00:16:01 To: Tomcat Users Listusers@tomcat.apache.org Reply-To: Tomcat Users List users@tomcat.apache.org Subject: Re: Can tomcat detect disconnection by client side in Async mode? Hello, Without knowing the application and going on standard sockets, I know from experience without

Can tomcat detect disconnection by client side in Async mode?

2010-12-04 Thread Ben
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