- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for permitAddressReuse (0.65 sec)
-
staging/src/k8s.io/apiserver/pkg/server/options/serving_windows.go
return fmt.Errorf("port reuse is not supported on Windows") } // Windows supports SO_REUSEADDR, but it may cause undefined behavior, as // there is no protection against port hijacking. func permitAddressReuse(network, addr string, conn syscall.RawConn) error { return fmt.Errorf("address reuse is not supported on Windows")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/serving_unix.go
if err := syscall.SetsockoptInt(int(fd), syscall.SOL_SOCKET, unix.SO_REUSEPORT, 1); err != nil { klog.Warningf("failed to set SO_REUSEPORT on socket: %v", err) } }) } func permitAddressReuse(network, addr string, conn syscall.RawConn) error { return conn.Control(func(fd uintptr) { if err := syscall.SetsockoptInt(int(fd), syscall.SOL_SOCKET, unix.SO_REUSEADDR, 1); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 1.2K bytes - Viewed (0)