tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61932] IllegalStateException when calling asyncContext.dispatch() in a non container thread with ReadListener used
Date Wed, 03 Jan 2018 20:55:57 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61932

Mark Thomas <markt@apache.org> changed:

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

--- Comment #2 from Mark Thomas <markt@apache.org> ---
Thanks for the report and the test case. Bug reports are so much easier to work
with when good test cases like this one are provided.

I adapted the provided Servlet into a Tomcat test case. The main change was to
fix the potential timing issues (some of our CI systems can be randomly slow
during test runs) by using a latch to trigger the dispatch rather than a fixed
wait time.

There was a Tomcat bug here that I have fixed.

Fixed in:
- trunk for 9.0.3 onwards
- 8.5.x for 8.5.25 onwards
- 8.0.x for 8.0.49 onwards

7.0.x was not affected as Servlet 3.0 does not support non-blocking I/O.

-- 
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


Mime
View raw message