From 2e72f27bfdfc2c8d7e617b434a26dae4caaaa4c1 Mon Sep 17 00:00:00 2001 From: Felician Nemeth Date: Wed, 6 Mar 2024 14:38:16 +0100 Subject: [PATCH] Fix constant of frame_type IMMEDIATE_ACK Both the draft and the IANA registry say the current value for frame_type IMMEDIATE_ACK is 0x1F. https://www.iana.org/assignments/quic/quic.xhtml https://datatracker.ietf.org/doc/html/draft-ietf-quic-ack-frequency#section-10.2 Co-Authored-By: Tamas Levai --- quinn-proto/src/frame.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quinn-proto/src/frame.rs b/quinn-proto/src/frame.rs index a34138b96..dca8cf54e 100644 --- a/quinn-proto/src/frame.rs +++ b/quinn-proto/src/frame.rs @@ -131,7 +131,7 @@ frame_types! { HANDSHAKE_DONE = 0x1e, // ACK Frequency ACK_FREQUENCY = 0xaf, - IMMEDIATE_ACK = 0xac, + IMMEDIATE_ACK = 0x1f, // DATAGRAM }