Change information
Commit message:
internal/http3: add client to server trailer header support
This change adds support for ClientConn to send trailer headers, and for
Server to receive trailer headers. Support for the other direction will
be done in a follow-up change.
The encoding and decoding of trailer headers are done using bodyWriter
and bodyReader respectively, as these logic are agnostic to whether the
trailer header is sent by the client or the server.
For golang/go#70914
Change-Id: I646d193ae1bc44ddea69b8397d4473d3b11eddf2
Files:
- M internal/http3/body.go
- M internal/http3/roundtrip.go
- M internal/http3/roundtrip_test.go
- M internal/http3/server.go
- M internal/http3/server_test.go
Change size: L
Delta: 5 files changed, 246 insertions(+), 48 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +2 by Damien Neil, +1 by Nicholas Husin
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI