Home | History | Annotate | Download | only in http

Lines Matching defs:maxConcurrentStreams

3780 	// MaxConcurrentStreams optionally specifies the number of
3784 // If zero, MaxConcurrentStreams defaults to at least 100, per
3786 MaxConcurrentStreams uint32
3847 func (s *http2Server) maxConcurrentStreams() uint32 {
3848 if v := s.MaxConcurrentStreams; v > 0 {
4036 advMaxStreams: s.maxConcurrentStreams(),
6718 pendingRequests int // requests blocked and waiting to be sent because len(streams) == maxConcurrentStreams
6726 maxConcurrentStreams uint32
7091 maxConcurrentStreams: 1000, // "infinite", per spec. 1000 seems good enough.
7497 // awaitOpenSlotForRequest waits until len(streams) < maxConcurrentStreams.
7507 if int64(len(cc.streams))+1 <= int64(cc.maxConcurrentStreams) {
8536 cc.maxConcurrentStreams = s.Val