Re: Sometimes HttpServletRequest#asyncStart throws IllegalStateException

2021-01-04 Thread Mark Thomas
On 04/01/2021 13:27, Nicolò Boschi wrote: > Hi all, > > I faced a problem while using asynchronous computing of the HTTP requests > My code is really simple > > AsyncContext asyncContext = request.startAsync(request, response); > > If I interrupt the request from the client, I got > > > java.l

Sometimes HttpServletRequest#asyncStart throws IllegalStateException

2021-01-04 Thread Nicolò Boschi
Hi all, I faced a problem while using asynchronous computing of the HTTP requests My code is really simple AsyncContext asyncContext = request.startAsync(request, response); If I interrupt the request from the client, I got java.lang.IllegalStateException: Calling [asyncStart()] is not valid f