Change information
Commit message:
internal/http3: panic in server handler if given status that is not 3 digits
Our HTTP/1 and HTTP/2 server implementations will panic when WriteHeader
is called from a handler with a status code that is not 3 digits. For
consistency, do this too for HTTP/3.
For golang/go#70914
Change-Id: I65aca23ea186481ae06c7388db487e476a6a6964
Files:
- M internal/http3/server.go
- M internal/http3/server_test.go
Change size: M
Delta: 2 files changed, 61 insertions(+), 0 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +1 by Nicholas Husin, +2 by Damien Neil
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI