Skip to main content

MAX_CONCURRENT_STREAMS

Constant MAX_CONCURRENT_STREAMS 

Source
const MAX_CONCURRENT_STREAMS: u32 = 20;
Expand description

Maximum concurrent HTTP/2 streams per connection.

The primary clients (Zaino and Zallet) each open 1-2 streams via init_read_state_with_syncer. 20 provides generous headroom while bounding resource usage from untrusted clients.