TUN-5408: Update quic package to v0.24.0

This commit is contained in:
cthuang
2021-11-10 18:45:26 +00:00
committed by Chung Ting Huang
parent 157f5d1412
commit e71b88fcaa
18 changed files with 66 additions and 59 deletions

View File

@@ -1,3 +1,4 @@
//go:build windows
// +build windows
package quic
@@ -11,7 +12,10 @@ import (
"golang.org/x/sys/windows"
)
const IP_DONTFRAGMENT = 14
const (
disablePathMTUDiscovery = true
IP_DONTFRAGMENT = 14
)
func newConn(c OOBCapablePacketConn) (connection, error) {
rawConn, err := c.SyscallConn()