Add back urltest outbound

This commit is contained in:
世界 2022-09-15 15:22:08 +08:00
parent 4d24cf5ec4
commit a5402ffb69
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
16 changed files with 434 additions and 45 deletions

View file

@ -25,4 +25,5 @@ const (
const (
TypeSelector = "selector"
TypeURLTest = "urltest"
)

View file

@ -3,10 +3,11 @@ package constant
import "time"
const (
TCPTimeout = 5 * time.Second
ReadPayloadTimeout = 300 * time.Millisecond
DNSTimeout = 10 * time.Second
QUICTimeout = 30 * time.Second
STUNTimeout = 15 * time.Second
UDPTimeout = 5 * time.Minute
TCPTimeout = 5 * time.Second
ReadPayloadTimeout = 300 * time.Millisecond
DNSTimeout = 10 * time.Second
QUICTimeout = 30 * time.Second
STUNTimeout = 15 * time.Second
UDPTimeout = 5 * time.Minute
DefaultURLTestInterval = 1 * time.Minute
)