You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
joakime
changed the title
Throw warning if ServletInputStream.transferTo(ByteBuffer) is used while in Async ReadListener is in use?
Throw warning if ServletInputStream.transferTo(OutputStream) is used while in Async ReadListener is in use?
Apr 18, 2024
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.The text was updated successfully, but these errors were encountered: