Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

propertytHTTP2Limits.MaxStreamsPerConnection

property MaxStreamsPerConnection: Integer read fMaxStreamsPerConnection write SetMaxStreamsPerConnection default cMaxStreamsPerConnection;
The first RATE control here - everything above bounds how BIG one thing may be, these two bound how MANY. Total streams one connection may ever open. MaxConcurrentStreams does NOT bound this: a stream is dropped as soon as its response is flushed, so the concurrent count returns to near zero after every request and a peer can open them one after another for ever. Because a request is dispatched synchronously, that is a request-rate control - thousands fit in one TCP segment at about 30 octets each. Reaching it is GOAWAY(NO_ERROR): the peer has used this connection up and should open another, paying for TCP and TLS again. The same idea, and the same default, as nginx keepalive_requests.