Re: AsyncListener.onError and disconnected client

2013-04-29 Thread Rossen Stoyanchev
- Original Message - > From: "Mark Thomas" > To: "Tomcat Users List" > Sent: Thursday, April 25, 2013 8:42:55 AM > Subject: Re: AsyncListener.onError and disconnected client > It is. The issue is when is happens. > > The issue is that t

Re: AsyncListener.onError and disconnected client

2013-04-25 Thread André Warnier
Mark Thomas wrote: 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

Re: AsyncListener.onError and disconnected client

2013-04-25 Thread Mark Thomas
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 t

Re: AsyncListener.onError and disconnected client

2013-04-25 Thread André Warnier
Mark Thomas wrote: On 25/04/2013 13:20, Rossen Stoyanchev wrote: - Original Message - From: "Mark Thomas" To: "Tomcat Users List" Sent: Wednesday, April 24, 2013 2:14:53 PM Subject: Re: AsyncListener.onError and disconnected client On 24/04/2013 18:38, Ros

Re: AsyncListener.onError and disconnected client

2013-04-25 Thread Mark Thomas
On 25/04/2013 13:20, Rossen Stoyanchev wrote: > > - Original Message - >> From: "Mark Thomas" >> To: "Tomcat Users List" >> Sent: Wednesday, April 24, 2013 2:14:53 PM >> Subject: Re: AsyncListener.onError and disconnected client

Re: AsyncListener.onError and disconnected client

2013-04-25 Thread Rossen Stoyanchev
- Original Message - > From: "Mark Thomas" > To: "Tomcat Users List" > Sent: Wednesday, April 24, 2013 2:14:53 PM > Subject: Re: AsyncListener.onError and disconnected client > > On 24/04/2013 18:38, Rossen Stoyanchev wrote: > > > > --

Re: AsyncListener.onError and disconnected client

2013-04-24 Thread Mark Thomas
On 24/04/2013 18:38, Rossen Stoyanchev wrote: - Original Message - From: "Mark Thomas" To: "Tomcat Users List" Sent: Wednesday, April 24, 2013 12:47:54 PM Subject: Re: AsyncListener.onError and disconnected client On 24/04/2013 16:33, Rossen Stoyanchev wrote: Hi

Re: AsyncListener.onError and disconnected client

2013-04-24 Thread Rossen Stoyanchev
- Original Message - > From: "Mark Thomas" > To: "Tomcat Users List" > Sent: Wednesday, April 24, 2013 12:47:54 PM > Subject: Re: AsyncListener.onError and disconnected client > > On 24/04/2013 16:33, Rossen Stoyanchev wrote: > > Hi, >

Re: AsyncListener.onError and disconnected client

2013-04-24 Thread Mark Thomas
On 24/04/2013 16:33, Rossen Stoyanchev wrote: Hi, I've seen various discussions here and on the web but I haven't found a conclusive answer. Why does an AsyncListener not receive onError notifications when a client disconnects? Because the Servlet EG says that is the required behaviour. The EG

AsyncListener.onError and disconnected client

2013-04-24 Thread Rossen Stoyanchev
Hi, I've seen various discussions here and on the web but I haven't found a conclusive answer. Why does an AsyncListener not receive onError notifications when a client disconnects? The scenario is that async processing starts (via request.startAsync), the Servlet container thread is exited, an