Refactor socksopts per functionality, not per build flag

This commit is contained in:
9seconds
2026-04-07 15:42:22 +02:00
parent 0de8b28de8
commit 437dacfaab
6 changed files with 27 additions and 13 deletions
+10
View File
@@ -0,0 +1,10 @@
//go:build !linux
package network
import (
"net"
"syscall"
)
func setTCPUserTimeout(conn syscall.RawConn, cfg net.KeepAliveConfig) {}