• Mike Appleby's avatar
    http2: Respect peer's SETTINGS_MAX_HEADER_LIST_SIZE in ClientConn · 66aacef3
    Mike Appleby authored
    Add a new peerMaxHeaderListSize member to ClientConn which records the
    SETTINGS_MAX_HEADER_LIST_SIZE requested by the client's peer, and
    respect this limit in (*ClientConn) encodeHeaders / encodeTrailers.
    
    Attempting to send more than peerMaxHeaderListSize bytes of headers or
    trailers will result in RoundTrip returning errRequestHeaderListSize.
    
    Updates golang/go#13959
    
    Change-Id: Ic707179782acdf8ae543429ea1af7f4f30e67e59
    Reviewed-on: https://go-review.googlesource.com/29243
    Run-TryBot: Tom Bergan <tombergan@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarTom Bergan <tombergan@google.com>
    66aacef3
Name
Last commit
Last update
bpf Loading commit data...
context Loading commit data...
dict Loading commit data...
dns/dnsmessage Loading commit data...
html Loading commit data...
http2 Loading commit data...
icmp Loading commit data...
idna Loading commit data...
internal Loading commit data...
ipv4 Loading commit data...
ipv6 Loading commit data...
lex/httplex Loading commit data...
lif Loading commit data...
nettest Loading commit data...
netutil Loading commit data...
proxy Loading commit data...
publicsuffix Loading commit data...
route Loading commit data...
trace Loading commit data...
webdav Loading commit data...
websocket Loading commit data...
xsrftoken Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
codereview.cfg Loading commit data...