summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/net/http2/config_go126.go
blob: 6b071c149d22fe384e33ff00487b6d46158b6659 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2025 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build go1.26

package http2

import (
	"net/http"
)

func http2ConfigStrictMaxConcurrentRequests(h2 *http.HTTP2Config) bool {
	return h2.StrictMaxConcurrentRequests
}