maxPeerStreamLimitViolations property

int? maxPeerStreamLimitViolations
final

Consecutive peer stream-limit violations allowed before terminating the connection with ENHANCE_YOUR_CALM.

Individual violations are rejected with REFUSED_STREAM. The counter is incremented only after the peer acknowledges the advertised stream limit and is reset after a peer-initiated stream is accepted. Set to null to never terminate the connection based only on this violation count.

Implementation

final int? maxPeerStreamLimitViolations;