Skip to content

Defaults and limits

Parameter Default Where
Handshake timeout (transport accept to WELCOME or REJECT) 10 s §7.1
Heartbeat hb 15 s §7.4
Idle timeout idle 45 s §7.4
max_frame 1 MiB (minimum 64 KiB, binds both peers) §5, §7.1, §7.2, §4.1
Header size limit 16 KiB §5.4.1
Header and data-section nesting depth; tags on a data-section path 16 (data sections: every receiver accepts at least 16, and encoders check against 16) §5.4.1, §12.3
Manifest size 4 MiB (fixed protocol value) §12.2
Manifest type depth 32 (fixed protocol value) §12.2
Manifest name length 255 bytes (fixed protocol value) §12.2
Initial stream credit window (WS) 256 KiB (minimum 64 KiB, binds both peers) §6.4, §7.1, §4.1
max_calls (each direction) 100 §6.5
max_subs 256 §10.2
max_dgram 1,100 bytes §11.3
Datagram bindings per direction 256 (fixed protocol value) §11.2
Lanes per direction 16, lane numbers 1 to 16 (fixed protocol value) §9.2
resume_window 30 s §7.8
Replay buffer (per direction) 1 MiB §7.8
ACK interval 1 s or 64 frames §7.8
Outbound queue (stream 0) 1 MiB §13.5
Outbound queue hard cap 2 × outbound queue §13.5
Slow-consumer grace 5 s §13.5
Pre-authentication buffer 64 KiB (minimum) §4.1
WebSocket message size 2 × max_frame §4.3
Client send high-water mark (WS) 1 MiB §4.3
Server inbound unprocessed bytes 1 MiB §4.3
Stream open + CANCEL rate 1,000 / 10 s §6.5
PING rate 10 / hb (capacity 10, refill 10 per hb; any other received frame refills the bucket to capacity) §7.4
Notification rate (inbound) 500 / s §14
Datagram rate (inbound) 2,000 / s §14
Control request rate 100 / s §14
Handshake + resume attempts per address 60 / min §14
Detached sessions per principal (per node; anonymous: per source address) 8 §7.8
Detached sessions in total (per node) 10,000 §7.8
Maximum session age 4 h ± 10 % §7.6
Drain window 60 s §7.6
Drain deadline 5 min §7.6
Credential expiry grace 0 s §7.5
Idempotency retention 5 min §8.7
Takeover timeout 2 s §13.8
Transport race head-start 250 ms §4.4
WebTransport failure cache 24 h (1 h when WELCOME lists webtransport) §4.4

Rates are token buckets: capacity is the stated count and refill is the count divided by the period (1,000 tokens refilled at 100 per second for stream opens). An event that finds the bucket empty exceeds the limit.


From the specification: §16.