disable Path MTU Discovery on Windows

This commit is contained in:
Marten Seemann
2021-09-14 18:39:23 +02:00
parent 3b46d7402c
commit d410b590e9
8 changed files with 56 additions and 34 deletions

View File

@@ -5,7 +5,10 @@ package quic
import "golang.org/x/sys/unix"
const msgTypeIPTOS = unix.IP_TOS
const (
msgTypeIPTOS = unix.IP_TOS
disablePathMTUDiscovery = false
)
const (
ipv4RECVPKTINFO = unix.IP_PKTINFO