tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59261] Request getAsyncContext should throw IllegalStateException if async is not started
Date Wed, 06 Apr 2016 22:02:02 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59261

--- Comment #4 from Mark Thomas <markt@apache.org> ---
On the plus side, the async code is reasonably well covered by the unit tests.

The down side, as Rémy points out is that we'll need to carefully review all
the calls to getAsyncContext(). We may also need a getAsyncContextInternal()
method (or something along those lines) so we can get the async context in
those cases where we need it even if isAsyncStarted() is false.

I guess working on this in 9.0.x, and ironing out the wrinkles before slowly
back-porting is the way to go.

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