mirror of
https://github.com/golang/net.git
synced 2026-03-31 18:37:08 +09:00
This change implements support for Server to send trailer headers, and for ClientConn to receive said trailer headers. This is just like go.dev/cl/743600, but in the opposite direction. The bulk of the implementation relies on the trailer header encoding and decoding support that was added to bodyWriter and bodyReader respectively in go.dev/cl/743600. For golang/go#70914 Change-Id: I0efded4b1ac3e3c6b9479f18402e02e9e764d4a2 Reviewed-on: https://go-review.googlesource.com/c/net/+/744220 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Nicholas Husin <husin@google.com> Reviewed-by: Damien Neil <dneil@google.com>