Skip to main content

install_max_concurrent_streams_per_service

Function install_max_concurrent_streams_per_service 

Source
pub fn install_max_concurrent_streams_per_service(n: usize) -> Result<(), usize>
Expand description

Install the per-service concurrent-streams cap. Call once at startup with ServerConfig::max_concurrent_streams_per_service. Values are clamped to a minimum of 1. Returns Err(existing) if already installed (first-write-wins).