defaultMaxPeerStreamLimitViolations top-level constant

int const defaultMaxPeerStreamLimitViolations

Default number of consecutive peer stream-limit violations before GOAWAY.

Once the peer has acknowledged the advertised stream limit, eight tolerates a short burst of racing streams while still terminating a peer that repeatedly ignores the limit. Accepting a peer stream resets the violation count.

Implementation

const int defaultMaxPeerStreamLimitViolations = 8;