mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-16 16:49:21 +08:00
TUN-8006: Update quic-go to latest upstream
This commit is contained in:
17
vendor/github.com/quic-go/quic-go/sys_conn_df.go
generated
vendored
17
vendor/github.com/quic-go/quic-go/sys_conn_df.go
generated
vendored
@@ -1,15 +1,22 @@
|
||||
//go:build !linux && !windows
|
||||
//go:build !linux && !windows && !darwin
|
||||
|
||||
package quic
|
||||
|
||||
import "syscall"
|
||||
import (
|
||||
"syscall"
|
||||
)
|
||||
|
||||
func setDF(rawConn syscall.RawConn) error {
|
||||
func setDF(syscall.RawConn) (bool, error) {
|
||||
// no-op on unsupported platforms
|
||||
return nil
|
||||
return false, nil
|
||||
}
|
||||
|
||||
func isMsgSizeErr(err error) bool {
|
||||
func isSendMsgSizeErr(err error) bool {
|
||||
// to be implemented for more specific platforms
|
||||
return false
|
||||
}
|
||||
|
||||
func isRecvMsgSizeErr(err error) bool {
|
||||
// to be implemented for more specific platforms
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user