Revert: cli tcp-wait-timeout option

This reverts commit 2c51a65685.
This commit is contained in:
xjasonlyu
2023-04-03 17:57:13 +08:00
parent ad522ebb35
commit 20499c6432
4 changed files with 7 additions and 15 deletions

View File

@@ -123,10 +123,6 @@ func general(k *Key) error {
log.Infof("[DIALER] set fwmark: %#x", k.Mark)
}
if k.TCPWaitTimeout > 0 {
tunnel.SetTCPWaitTimeout(k.TCPWaitTimeout)
}
if k.UDPTimeout > 0 {
if k.UDPTimeout < time.Second {
return errors.New("invalid udp timeout value")