• Tom Bergan's avatar
    http2: refund connection flow control on DATA frames received after reset · d4223d67
    Tom Bergan authored
    If the transport had previously sent a RST_STREAM but had not yet
    deleted the stream from its list of active streams, we should refund
    connection-level flow control for any DATA frame received as such
    DATA frames will never be read.
    
    We already refund connection-level flow control if a stream closes with
    unread data in bufPipe. However, when we receive a DATA frame after
    reset, we don't bother writing it to bufPipe, so we have to refund the
    flow control separately.
    
    Updates golang/go#20469
    
    Change-Id: I5a9810a5d6b1bd7e291173af53646246545a6665
    Reviewed-on: https://go-review.googlesource.com/46591
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    d4223d67
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...