Skip to content

Commit

Permalink
Fix min_ack_delay transport parameter ID
Browse files Browse the repository at this point in the history
This was updated in the draft alongside the frame ID.
  • Loading branch information
Ralith committed Aug 6, 2024
1 parent 91be546 commit 2bbc918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quinn-proto/src/transport_parameters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ impl TransportParameters {
}

if let Some(x) = self.min_ack_delay {
w.write_var(0xff04de1a);
w.write_var(0xff04de1b);
w.write_var(x.size() as u64);
w.write(x);
}
Expand Down Expand Up @@ -412,7 +412,7 @@ impl TransportParameters {
0 => params.grease_quic_bit = true,
_ => return Err(Error::Malformed),
},
0xff04de1a => params.min_ack_delay = Some(r.get().unwrap()),
0xff04de1b => params.min_ack_delay = Some(r.get().unwrap()),
_ => {
macro_rules! parse {
{$($(#[$doc:meta])* $name:ident ($code:expr) = $default:expr,)*} => {
Expand Down

0 comments on commit 2bbc918

Please sign in to comment.