mirror of https://github.com/XTLS/Xray-core
Update system_dialer.go
parent
02b2305d6f
commit
ba2f6cfd87
|
@ -97,6 +97,7 @@ func (d *DefaultSystemDialer) Dial(ctx context.Context, src net.Address, dest ne
|
|||
}
|
||||
if sockopt != nil && (sockopt.TcpKeepAliveInterval != 0 || sockopt.TcpKeepAliveIdle != 0) {
|
||||
TCPKeepAlive = time.Duration(-1)
|
||||
TCPKeepAliveConfig.Enable = false
|
||||
}
|
||||
dialer := &net.Dialer{
|
||||
Timeout: time.Second * 16,
|
||||
|
|
Loading…
Reference in New Issue