Tomcat async servlets 3.0 setTimeout

2011-06-21 Thread Paul Cazan
Hello, In servlets 3.0 specification regarding async sockets, setTimeout with 0 or negative value should be used for infinite timeout (no timeout). I am not sure if there is a bug or a particular design in Tomcat 7.0.14 (did not tested with 7.0.16), but when I use setTimeout(0) or setTimeout(-1),

Re: How to handle client disconnection in 'no timeout' async servlets?

2011-06-10 Thread Paul Cazan
in Servlet 3.0 specification? --- On Thu, 9/6/11, Paul Cazan wrote: From: Paul Cazan Subject: How to handle client disconnection in 'no timeout' async servlets? To: users@tomcat.apache.org Date: Thursday, 9 June, 2011, 3:22 PM Hello, I am using Tomcat 7.0.14. I used to have a

How to handle client disconnection in 'no timeout' async servlets?

2011-06-09 Thread Paul Cazan
Hello, I am using Tomcat 7.0.14. I used to have a servlet implementing CometProcessor to process asynchronous streams, with timeout set very high (Integer.MAX_VALUE), and all worked fine. When I close the browser, the servlet is notified immediately about that (CometEvent.EventType.END) and I am