jetty.project/jetty-http2/http2-server
Simone Bordet df265e0abb
Fixes #8678 - Jetty client receives GO_AWAY and continue to send traffic on same connection (#8891)
* Fixes #8678 - Jetty client receives GO_AWAY and continue to send traffic on same connection

* Now upon receiving the GOAWAY, the connection is removed from the pool, so it cannot be used by new requests.
* HTTP2Session.removeStream() now happens _after_ notifying HEADERS and DATA events, although the Stream state change still happens before.
This is necessary to avoid that a "close" event is notified before a "headers" or "data" event.

With these changes, the race window of a client acquiring a connection while the server is closing it is reduced, but it is impossible to close it completely.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-14 15:25:25 +01:00
..
src Fixes #8678 - Jetty client receives GO_AWAY and continue to send traffic on same connection (#8891) 2022-11-14 15:25:25 +01:00
pom.xml merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00