mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-04 12:27:36 +03:00
Add urltest outbound
This commit is contained in:
parent
139127f1e4
commit
c4e46c35b5
17 changed files with 473 additions and 112 deletions
|
@ -3,6 +3,8 @@ package constant
|
|||
import "time"
|
||||
|
||||
const (
|
||||
DefaultTCPTimeout = 5 * time.Second
|
||||
ReadPayloadTimeout = 300 * time.Millisecond
|
||||
DefaultTCPTimeout = 5 * time.Second
|
||||
ReadPayloadTimeout = 300 * time.Millisecond
|
||||
URLTestTimeout = DefaultTCPTimeout
|
||||
DefaultURLTestInterval = 1 * time.Minute
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue