Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
maddeleine committed Jan 3, 2025
1 parent aa5a2fa commit df3e674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quic/s2n-quic-core/src/packet/encoding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ pub trait PacketEncoder<K: CryptoKey, H: HeaderKey, Payload: PacketPayloadEncode
return Err(PacketEncodingError::EmptyPayload(buffer));
}

// Ideally we would check that the `paylod_len >= minimum_payload_len`. However, the packet
// Ideally we would check that the `payload_len >= minimum_payload_len`. However, the packet
// interceptor may rewrite the packet into something smaller. Instead of preventing that
// here, we will rely on the `crate::transmission::Transmission` logic to ensure the
// padding is initially written to ensure the minimum is met before interception is applied.
Expand Down

0 comments on commit df3e674

Please sign in to comment.