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