Add TCP_USER_TIMEOUT support

This commit is contained in:
9seconds
2026-04-07 15:35:47 +02:00
parent 60ab083def
commit b58ac669d5
3 changed files with 46 additions and 2 deletions
+1
View File
@@ -24,6 +24,7 @@ func setCommonSocketOptions(conn *net.TCPConn, keepAliveConfig net.KeepAliveConf
}
setCongestionControl(rawConn)
setTCPUserTimeout(rawConn, keepAliveConfig)
return nil
}