https://issues.apache.org/bugzilla/show_bug.cgi?id=49698

--- Comment #4 from heyoulin <heyou...@hotmail.com> 2010-08-04 13:03:05 EDT ---
(In reply to comment #3)
> You are required by the spec to implement a listener to handle the timeout.
I have a listener to handle the timeout.
public void onTimeout(AsyncEvent event) throws IOException {
        event.getAsyncContext().complete();
    }

When implement event.getAsyncContext().complete() actually tomcat do
nothing.AsyncState is still in COMPLETING.So return http500.

So how to handle the timeout to make AsyncState to NOT_STARTED only using
servlet 3.0 api?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to