forked from quic-go/quic-go
enable GSO on Linux, if available
This commit is contained in:
8
sys_conn_no_gso.go
Normal file
8
sys_conn_no_gso.go
Normal file
@@ -0,0 +1,8 @@
|
||||
//go:build darwin || freebsd
|
||||
|
||||
package quic
|
||||
|
||||
import "syscall"
|
||||
|
||||
func maybeSetGSO(_ syscall.RawConn) bool { return false }
|
||||
func appendUDPSegmentSizeMsg(_ []byte, _ int) []byte { return nil }
|
||||
Reference in New Issue
Block a user