diff options
| -rw-r--r-- | mullvad-masque-proxy/src/lib.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mullvad-masque-proxy/src/lib.rs b/mullvad-masque-proxy/src/lib.rs index 2c7b64f900..ad3d79d9ff 100644 --- a/mullvad-masque-proxy/src/lib.rs +++ b/mullvad-masque-proxy/src/lib.rs @@ -27,10 +27,8 @@ const UDP_HEADER_SIZE: u16 = 8; /// QUIC header size. This is conservative, real overhead varies const QUIC_HEADER_SIZE: u16 = 41; -/// The minimum allowed `max_udp_payload_size`-value allowed by [quinn::EndpointConfig]. -/// FIXME: A bug in the proxy server implementation sets the actual minimum value to 1252 instead -/// of 1200, which would be according to spec. -const MIN_MAX_UDP_PAYLOAD_SIZE: u16 = 1252; +/// The minimum allowed `max_udp_payload_size`-value allowed by the QUIC spec. +const MIN_MAX_UDP_PAYLOAD_SIZE: u16 = 1200; /// This is the size of the payload that stores QUIC packets /// MTU - IP header - UDP header |
