summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/net/http2/config_go126.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/net/http2/config_go126.go')
-rw-r--r--vendor/golang.org/x/net/http2/config_go126.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/golang.org/x/net/http2/config_go126.go b/vendor/golang.org/x/net/http2/config_go126.go
new file mode 100644
index 000000000..6b071c149
--- /dev/null
+++ b/vendor/golang.org/x/net/http2/config_go126.go
@@ -0,0 +1,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
+}