Re: Async Context not timing out

2013-05-13 Thread Rahul Kumar
Hi Mark, Thanks for the reply. As I could understand from this bug https://issues.apache.org/bugzilla/show_bug.cgi?id=53061 , and referring to your comment "Looking at the NIO source code, there is a test that essentially means that timeouts only get processed after one second of inactivity so un

Re: Async Context not timing out

2013-05-13 Thread Mark Thomas
On 13/05/2013 18:01, Rahul Kumar wrote: > Hi All, > > I need some help with the async context timeout in servlet 3.0 running > on tomcat 7.0.40. > > I have set the asynccontext timeout value, but the timeout behaviour is > highly inconsistent. Sometimes the timeouts work, but most of the times >

Async Context not timing out

2013-05-13 Thread Rahul Kumar
Hi All, I need some help with the async context timeout in servlet 3.0 running on tomcat 7.0.40. I have set the asynccontext timeout value, but the timeout behaviour is highly inconsistent. Sometimes the timeouts work, but most of the times they don't. I am attaching the source code and the outpu