aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_linux_amd64.s
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2016-11-01 15:24:11 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2016-11-01 17:01:30 +0000
commitb2c54afe1451f93e1fbbad257a151d8425cd308d (patch)
tree8a5df30c71c5c51b644311b5bc79a144b0f752d5 /src/runtime/sys_linux_amd64.s
parent3c2f607274b2284826ea887fa9d2ef62817df608 (diff)
downloadgo-b2c54afe1451f93e1fbbad257a151d8425cd308d.tar.xz
net/http, net/http/httptest: make http2's TrailerPrefix work for http1
Go's http1 implementation originally had a mechanism to send HTTP trailers based on pre-declaring the trailer keys whose values you'd later let after the header was written. http2 copied the same mechanism, but it was found to be unsufficient for gRPC's wire protocol. A second trailer mechanism was added later (but only to http2) for handlers that want to send a trailer without knowing in advance they'd need to. Copy the same mechanism back to http1 and document it. Fixes #15754 Change-Id: I8c40d55e28b0e5b7087d3d1a904a392c56ee1f9b Reviewed-on: https://go-review.googlesource.com/32479 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/sys_linux_amd64.s')
0 files changed, 0 insertions, 0 deletions