]> Cypherpunks repositories - gostls13.git/commit
net/http: add HTTP2Config.StrictMaxConcurrentRequests
authorDamien Neil <dneil@google.com>
Wed, 25 Sep 2024 18:10:07 +0000 (11:10 -0700)
committerGopher Robot <gobot@golang.org>
Fri, 26 Sep 2025 23:14:14 +0000 (16:14 -0700)
commit3a5df9d2b20c0f059c463b5d51e89be17a2c685b
tree8163d083beaf4b1f5683fb3ea56ed97bff67f39a
parent16be34df02ba073456e5f31203549165585f3e6c
net/http: add HTTP2Config.StrictMaxConcurrentRequests

Add a field to HTTP2Config controlling how we behave when an HTTP/2
connection reaches its concurrency limit.

This field will have no effect until golang.org/x/net/http2 is
updated to make use of it, and h2_bundle.go is updated with the
new http2 package.

For #67813

Change-Id: Ic72a0986528abb21649f28e9fe7cf6e1236b388d
Reviewed-on: https://go-review.googlesource.com/c/go/+/615875
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Damien Neil <dneil@google.com>
Reviewed-by: Nicholas Husin <nsh@golang.org>
Reviewed-by: Nicholas Husin <husin@google.com>
api/next/67813.txt [new file with mode: 0644]
doc/next/6-stdlib/99-minor/net/http/67813.md [new file with mode: 0644]
src/net/http/http.go
src/net/http/transport_dial_test.go