aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
authorNicholas S. Husin <nsh@golang.org>2026-03-30 22:24:12 -0400
committerNicholas Husin <nsh@golang.org>2026-03-31 08:30:49 -0700
commitdb6661a2fd321d4af14efc48492144f86bb50c93 (patch)
treefaaed4e5b01022c1aa8a6e34375ab4af5e930c68 /src/cmd
parentaf4c316c28d2dad63851e7384a7aa198ee729aee (diff)
downloadgo-db6661a2fd321d4af14efc48492144f86bb50c93.tar.xz
net/http: support passing Server Shutdown context to HTTP/3 implementations
Currently, when Server.Shutdown is called with a given context, an HTTP/3 server implementation does not have access to said context. This forces HTTP/3 server implementations to guess a reasonable fixed timeout when attempting to gracefully shutdown, which is not ideal. Therefore, add ShutdownContext method to http3ServerHandler to handle this. For #77440 Change-Id: Ib15b615f646fd08788981eb06f3a70606a6a6964 Reviewed-on: https://go-review.googlesource.com/c/go/+/761480 Reviewed-by: Nicholas Husin <husin@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/cmd')
0 files changed, 0 insertions, 0 deletions