On 24/05/2013 10:27, jie tang wrote: > But it means that even if I write some content to response, the onTimeout > method is still called
Correct. The timeout starts when the AsyncContext is started and is reset every time data is written to the response. Exactly the same way socket timeouts work. If you don't want a timeout, use setTimeout(0) Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org