mirror of
https://github.com/datarhei/core.git
synced 2025-09-26 20:11:29 +08:00
Upgrade datarhei/gosrt
This commit is contained in:
4
vendor/github.com/datarhei/gosrt/listen.go
generated
vendored
4
vendor/github.com/datarhei/gosrt/listen.go
generated
vendored
@@ -182,8 +182,8 @@ func Listen(network, address string, config Config) (Listener, error) {
|
||||
Control: func(network, address string, c syscall.RawConn) error {
|
||||
var opErr error
|
||||
err := c.Control(func(fd uintptr) {
|
||||
// Set REUSEPORT
|
||||
opErr = syscall.SetsockoptInt(int(fd), syscall.SOL_SOCKET, syscall.SO_REUSEPORT, 1)
|
||||
// Set REUSEADDR
|
||||
opErr = syscall.SetsockoptInt(int(fd), syscall.SOL_SOCKET, syscall.SO_REUSEADDR, 1)
|
||||
if opErr != nil {
|
||||
return
|
||||
}
|
||||
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@@ -45,7 +45,7 @@ github.com/cespare/xxhash/v2
|
||||
# github.com/cpuguy83/go-md2man/v2 v2.0.1
|
||||
## explicit; go 1.11
|
||||
github.com/cpuguy83/go-md2man/v2/md2man
|
||||
# github.com/datarhei/gosrt v0.2.1-0.20220817065416-5d1fd7a090e5
|
||||
# github.com/datarhei/gosrt v0.2.1-0.20220817080252-d44df04a3845
|
||||
## explicit; go 1.16
|
||||
github.com/datarhei/gosrt
|
||||
github.com/datarhei/gosrt/internal/circular
|
||||
|
Reference in New Issue
Block a user