If a Servlet is in an active ReadListener mode (Async Read), and there is code that attempts to use ServletInputStream.transferTo() style methods (that result in multiple read attempts) then it I think using that method should throw an IllegalStateException indicating that this method is unsupported during ReadListener operations.
Jetty version(s) 12.0.8
Enhancement Description
If a Servlet is in an active
ReadListener
mode (Async Read), and there is code that attempts to useServletInputStream.transferTo()
style methods (that result in multiple read attempts) then it I think using that method should throw anIllegalStateException
indicating that this method is unsupported duringReadListener
operations.