summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJoakim Hulthe <joakim.hulthe@mullvad.net>2025-09-15 14:31:12 +0200
committerJoakim Hulthe <joakim.hulthe@mullvad.net>2025-09-15 14:31:12 +0200
commitb36f2623be37fdd4562879ef1de7d00b0f4c8259 (patch)
treee22527fcd92c6aaa281e3a0bd25bb36cc76d7868
parent23fccfb8f7fc901405bbc141d9ea0472a1f08ce2 (diff)
parent2851cd5fe930caf80601750eed652c4a098517a9 (diff)
downloadmullvadvpn-b36f2623be37fdd4562879ef1de7d00b0f4c8259.tar.xz
mullvadvpn-b36f2623be37fdd4562879ef1de7d00b0f4c8259.zip
Merge branch 'remove-max-udp-quic-fixme'
-rw-r--r--mullvad-masque-proxy/src/lib.rs6
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