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 th

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 th

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

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-06 Thread Justin Randall
Date: Tue, 7 Dec 2010 00:16:01 To: Tomcat Users List Reply-To: "Tomcat Users List" 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 using Asy

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

2010-12-06 Thread Justin Randall
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 dow

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" b