diff options
| -rw-r--r-- | mullvad-masque-proxy/src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mullvad-masque-proxy/src/lib.rs b/mullvad-masque-proxy/src/lib.rs index 7a3b60dc1b..7d22dc11d7 100644 --- a/mullvad-masque-proxy/src/lib.rs +++ b/mullvad-masque-proxy/src/lib.rs @@ -28,7 +28,9 @@ const UDP_HEADER_SIZE: u16 = 8; const QUIC_HEADER_SIZE: u16 = 41; /// The minimum allowed `max_udp_payload_size`-value allowed by [quinn::EndpointConfig]. -const MIN_MAX_UDP_PAYLOAD_SIZE: u16 = 1200; +/// 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; /// This is the size of the payload that stores QUIC packets /// MTU - IP header - UDP header |
