You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2022/09/21 20:52:19 UTC

[Bug 66272] AsyncContextListener.onStartAsync is called before listener can be set

https://bz.apache.org/bugzilla/show_bug.cgi?id=66272

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
AsyncListener is not designed to work that way.

See the Servlet spec and/or Javadoc.

The Tomcat Javadoc for the Servlet API is even more explicit:
https://tomcat.apache.org/tomcat-10.1-doc/servletapi/jakarta/servlet/AsyncListener.html#onStartAsync(jakarta.servlet.AsyncEvent)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org