catch EPERM sendmsg errors for the very first packet on Linux (#4111)

This commit is contained in:
Marten Seemann
2023-10-17 15:23:33 +07:00
committed by GitHub
parent 262cf0a592
commit b344940f06
6 changed files with 57 additions and 4 deletions

View File

@@ -7,3 +7,4 @@ func forceSetSendBuffer(c any, bytes int) error { return nil }
func appendUDPSegmentSizeMsg([]byte, uint16) []byte { return nil }
func isGSOError(error) bool { return false }
func isPermissionError(err error) bool { return false }