pub const DEFAULT_CONNECTION_LIMIT: usize = 256;Expand description
Default cap on concurrent accepted connections per server (#162). Bounds
fd/memory from a peer that opens many connections that each sit idle (no
streams) — the per-stream DEFAULT_STREAM_LIMIT does not cover that.
Connections beyond the cap are rejected (dropped) rather than queued, so a
flood can’t build unbounded backpressure.