jetty.project/jetty-io
Simone Bordet a5a0a6c887
Fixes #10145 - WritePendingException over HTTP/2 tunnel (#10146)
Method HTTP2StreamEndPoint.flush() has a "no pending operation" semantic, but the previous implementation was calling stream.data(), which may become a pending operation if the stream is congested.

Changed the implementation of flush() to return false in the IDLE and PENDING cases.
Now every flush() is converted to a write(), which has the same semantic as stream.data().

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-07-26 22:59:24 +02:00
..
src Fixes #10145 - WritePendingException over HTTP/2 tunnel (#10146) 2023-07-26 22:59:24 +02:00
pom.xml Updating to version 10.0.16-SNAPSHOT 2023-04-11 13:23:25 -05:00