diff --git a/quic/s2n-quic-core/src/packet/encoding.rs b/quic/s2n-quic-core/src/packet/encoding.rs index 992255da2..14d7609f8 100644 --- a/quic/s2n-quic-core/src/packet/encoding.rs +++ b/quic/s2n-quic-core/src/packet/encoding.rs @@ -254,7 +254,7 @@ pub trait PacketEncoder= 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.