mirror of https://github.com/XTLS/Xray-core
pull/4932/head
parent
4d6d4e7e64
commit
02b2305d6f
|
@ -96,7 +96,7 @@ func (d *DefaultSystemDialer) Dial(ctx context.Context, src net.Address, dest ne
|
|||
Count: -1,
|
||||
}
|
||||
if sockopt != nil && (sockopt.TcpKeepAliveInterval != 0 || sockopt.TcpKeepAliveIdle != 0) {
|
||||
TCPKeepAlive := time.Duration(-1)
|
||||
TCPKeepAlive = time.Duration(-1)
|
||||
}
|
||||
dialer := &net.Dialer{
|
||||
Timeout: time.Second * 16,
|
||||
|
|
Loading…
Reference in New Issue