net/http: HTTP/2 server sometimes accepts a new request after OnShutdown hook is called #59038
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
When I modified
net/http.TestServerShutdown
to make a call toGet
in the handler after the hook passed toRegisterOnShutdown
was called, it passed reliably on my workstation but failed on thewindows-amd64-2016
builder:https://storage.googleapis.com/go-build-log/8141c27e/windows-amd64-2016_0b21b774.log:
That suggests that an HTTP/2 server (at least on Windows) may accept a completely new request after it has already called the
OnShutdown
hook. Even given HTTP/2's stream multiplexing, that behavior is surprising.See previously #39776,
(attn @neild)
The text was updated successfully, but these errors were encountered: