mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 16:14:02 +03:00
Add TCP_USER_TIMEOUT support
This commit is contained in:
@@ -24,6 +24,7 @@ func setCommonSocketOptions(conn *net.TCPConn, keepAliveConfig net.KeepAliveConf
|
||||
}
|
||||
|
||||
setCongestionControl(rawConn)
|
||||
setTCPUserTimeout(rawConn, keepAliveConfig)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user