On 17/05/2016 11:24, Romain Manni-Bucau wrote:
> Hi guys,
> 
> on 8.5.2 this code doesn't work anymore (in a valve):
> 
> if (!request.isAsync()) {
> 
>     getNext().invoke(request, response);
> 
> } else {
>     request.getAsyncContext().addListener(...);
>     getNext().invoke(request, response);
> }
> 
> Issue is isAsync() = true but getAsyncContext() throws an exception since
> isAsyncStarted() = false.
> 
> Was it intended?

Yes. It is in the change log.

Mark


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

Reply via email to