AW: Connection resets without timeout

2015-08-27 Thread Steffen Heil (Mailinglisten)
(Mailinglisten) [mailto:li...@steffen-heil.de] Gesendet: Dienstag, 25. August 2015 18:13 An: Tomcat Users List users@tomcat.apache.org Betreff: Connection resets without timeout Hi When using async servlets with timeout set to 0, tomcat seems not to detect, if the client closes

Re: Connection resets without timeout

2015-08-25 Thread Gregory Gerard
I'm curious as well -- I ran into this too and the only work around I had was to send a heartbeat which, if the client was gone, would complete the lifecycle (server sent events in my particular case). This was ugly and felt wrong so I'd love to know the right thing to do. On Aug 25, 2015, at

Connection resets without timeout

2015-08-25 Thread Steffen Heil (Mailinglisten)
Hi When using async servlets with timeout set to 0, tomcat seems not to detect, if the client closes the connection. At least the servlet listener is not notified. I expected AsyncListener.onComplete or AsyncListener.onError or AsyncListener.onTimeout, but none of these are called. The only

Re: Connection resets without timeout

2015-08-25 Thread Mark Thomas
On 25/08/2015 17:34, Gregory Gerard wrote: I'm curious as well -- I ran into this too and the only work around I had was to send a heartbeat which, if the client was gone, would complete the lifecycle (server sent events in my particular case). This was ugly and felt wrong so I'd love to