mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-03 20:07:36 +03:00
Set the default TCP keep alive period
This commit is contained in:
parent
b5dcd6bf59
commit
71d92518c1
3 changed files with 10 additions and 0 deletions
|
@ -3,6 +3,8 @@ package constant
|
|||
import "time"
|
||||
|
||||
const (
|
||||
TCPKeepAliveInitial = 10 * time.Minute
|
||||
TCPKeepAliveInterval = 75 * time.Second
|
||||
TCPTimeout = 5 * time.Second
|
||||
ReadPayloadTimeout = 300 * time.Millisecond
|
||||
DNSTimeout = 10 * time.Second
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue