Skip to content

Timeouts ​

Every timeout is set beside what it bounds. Each layer bounds its own handshake, and nothing adds an overall limit, so a stack's handshakes may together take the sum of their timeouts.

Handshakes ​

WhatKeyDefault
TCP connect, name resolution includedtcp dial_timeout10s
Next address of a domaintcp next_address_delay250ms
TLStls handshake_timeout10s
WebSocketws handshake_timeout10s
HTTPUpgradehttpupgrade handshake_timeout10s
PROXY protocol headerproxy_protocol timeout1s
SOCKS5socks5 handshake_timeout10s
HTTP proxyhttp handshake_timeout10s
Trojantrojan handshake_timeout10s
VLESSvless handshake_timeout10s
Mixed's first bytemixed first_byte_timeout10s
Sniffingsniff timeout300ms
Proxy request held for the first payloadproxy_request_timing max_delay400ms

Idle ​

WhatKeyDefault
TCP connectioninbound tcp_idle_timeout5m
UDP sessioninbound udp_session_idle_timeout5m
UDP routing decisioninbound udp_routing_cache_entry_idle_timeout1m
UDP live-list entrystats tracking.udp_entry_idle_timeout1m
Freedom's UDP socketfreedom nat.idle_timeout5m
TCP keep-alivetcp keep_alive15s

Other ​

WhatKeyDefault
One DNS queryDNS server settings.timeout5s
One group probeprobe timeout10s
Between probe roundsprobe interval5m
Held UDP session (XUDP)Mux.Cool hold_time60s