Skip to main content

MAX_STREAMS

Constant MAX_STREAMS 

Source
pub(super) const MAX_STREAMS: usize = 1024;
Expand description

The most streams a client may have open at once. A Kubernetes port forward uses two per forwarded connection. A stream counts until the server let go of it, also after the client reset it, so that a client which opens and resets streams cannot make the server hold more of them.