On Wed, 17 Dec 2025 15:53:01 GMT, Daniel Jeliński <[email protected]> wrote:
> When a QUIC connection receives a CONNECTION_CLOSE frame, it is supposed to > enter the draining state, where all incoming (reordered / replayed) packets > are silently discarded. However, the current implementation removes the > connection from the endpoint, and reordered/replayed packets trigger sending > of a stateless reset instead. This patch fixes that issue. > > I modified the `StatelessResetReceiptTest` to verify that the connection is > still registered with the endpoint after it enters the draining state. The > new test fails (most of the time) without the fix, passes with the fix. > > Existing httpclient tests continue to pass. This pull request has now been integrated. Changeset: 7a7e7c9a Author: Daniel Jeliński <[email protected]> URL: https://git.openjdk.org/jdk/commit/7a7e7c9ae11cb124c14d5d2d3b7e2f5649205106 Stats: 26 lines in 4 files changed: 18 ins; 4 del; 4 mod 8373877: QUIC connections are removed too early Reviewed-by: dfuchs ------------- PR: https://git.openjdk.org/jdk/pull/28874
