forked from quic-go/quic-go
catch EPERM sendmsg errors for the very first packet on Linux (#4111)
This commit is contained in:
@@ -13,7 +13,10 @@ import (
|
||||
. "github.com/onsi/gomega"
|
||||
)
|
||||
|
||||
var errGSO = &os.SyscallError{Err: unix.EIO}
|
||||
var (
|
||||
errGSO = &os.SyscallError{Err: unix.EIO}
|
||||
errNotPermitted = &os.SyscallError{Syscall: "sendmsg", Err: unix.EPERM}
|
||||
)
|
||||
|
||||
var _ = Describe("forcing a change of send and receive buffer sizes", func() {
|
||||
It("forces a change of the receive buffer size", func() {
|
||||
|
||||
Reference in New Issue
Block a user