mirror of
https://github.com/netbirdio/netbird.git
synced 2026-03-31 06:34:14 -04:00
* [relay] reduce QUIC initial packet size to 1280 (IPv6 min MTU) * adjust QUIC initial packet size to 1232 based on RFC 9000 §14
12 lines
389 B
Go
12 lines
389 B
Go
package relay
|
||
|
||
const (
|
||
// WebSocketURLPath is the path for the websocket relay connection
|
||
WebSocketURLPath = "/relay"
|
||
|
||
// QUICInitialPacketSize is the conservative initial QUIC packet size (bytes)
|
||
// for unknown-path PMTU, per RFC 9000 §14: 1280 (IPv6 min MTU) − 40 (IPv6
|
||
// header) − 8 (UDP header) = 1232. DPLPMTUD may probe larger sizes later.
|
||
QUICInitialPacketSize = 1232
|
||
)
|