Skip to main content

DEFAULT_MAX_CONCURRENT_REQUESTS

Constant DEFAULT_MAX_CONCURRENT_REQUESTS 

Source
pub const DEFAULT_MAX_CONCURRENT_REQUESTS: usize = 512;
Available on crate feature server only.
Expand description

Default ceiling on concurrently-executing requests, applied by HttpsServer::into_router. Bounds the memory a flood of slow senders can pin. Override with HttpsServerBuilder::max_concurrent_requests.