Change information
Commit message:
net/http/internal/http2: do not silently truncate large trailers
HTTP/2 transport currently applies Transport.MaxResponseHeaderBytes
limit to trailer headers. However, due to a missing check, when a server
sends trailers that exceeds the limit, it would silently truncate it
rather than giving an explicit error.
Change-Id: I749fa54447bb1eeb9c822cff6fb4c6416a6a6964
Files:
- M src/net/http/internal/http2/transport.go
- M src/net/http/internal/http2/transport_test.go
Change size: M
Delta: 2 files changed, 64 insertions(+), 1 deletion(-)
Branch: refs/heads/master