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 Tue, 05 Apr 2016 20:58:55 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59261

--- Comment #3 from Remy Maucherat <remm@apache.org> ---
Right now the spec is that getAsyncContext() should throw an ISE if
isAsyncStarted returns false (which is not the same as asyncContext != null).
This is an extremely risky change, some other places do check if asyncContext
is null because it may have been there but is no longer started, so it cannot
be swapped with isAsyncStarted.

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