Files
quic-go/sys_conn_df.go
Sukun 56cd866840 enable the DF bit on macOS (#3946)
* set DF bit on macOS

* simplify macOS version check

* link to chromium source for macOS 11 check
2023-07-19 12:01:03 -07:00

18 lines
282 B
Go

//go:build !linux && !windows && !darwin
package quic
import (
"syscall"
)
func setDF(syscall.RawConn) (bool, error) {
// no-op on unsupported platforms
return false, nil
}
func isMsgSizeErr(err error) bool {
// to be implemented for more specific platforms
return false
}