Hi guys,

in org.apache.coyote.AsyncStateMachine#asyncDispatch tomcat checks
ContainerThreadMarker.isContainerThread()

basically it prevents to use JAXRS 2 @Suspended without creating
custom threads - which is not intended.

Was this limitation intended or just to try to avoid to consume
container threads?

PS: there is no log saying dispatching is skipped so it makes it very
hard to understand without opening an IDE and tomcat sources, could it
be enhanced please?


Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau

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

Reply via email to