Summary: | AsyncContextListener.onStartAsync is called before listener can be set | ||
---|---|---|---|
Product: | Tomcat 9 | Reporter: | Alex <a701440> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 9.0.65 | ||
Target Milestone: | ----- | ||
Hardware: | PC | ||
OS: | Mac OS X 10.1 |
Description
Alex
2022-09-21 18:38:23 UTC
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) |