mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-16 16:49:21 +08:00
The lucas-clemente/quic-go package moved namespaces and our branch went stale, this new fork provides support for the new quic-go repo and applies the max datagram frame size change. Until the max datagram frame size support gets upstreamed into quic-go, this can be used to unblock go 1.20 support as the old lucas-clemente/quic-go will not get go 1.20 support.
16 lines
259 B
Go
16 lines
259 B
Go
//go:build !linux && !windows
|
|
|
|
package quic
|
|
|
|
import "syscall"
|
|
|
|
func setDF(rawConn syscall.RawConn) error {
|
|
// no-op on unsupported platforms
|
|
return nil
|
|
}
|
|
|
|
func isMsgSizeErr(err error) bool {
|
|
// to be implemented for more specific platforms
|
|
return false
|
|
}
|