Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(574)

Issue 14188025: [SPDY] Avoid leaking bytes from the session flow control send window (Closed)

Created:
7 years, 8 months ago by akalin
Modified:
7 years, 8 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

[SPDY] Avoid leaking bytes from the session flow control send window Add a ConsumeSource parameter to SpdyBuffer::ConsumeCallback. Use it to detect when a DATA frame to be written is dropped before it is written. Put all the flow control functions together and clean them up a bit. BUG=176592 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194851

Patch Set 1 #

Patch Set 2 : Fix size calculation bug #

Patch Set 3 : Self-review #

Patch Set 4 : Add comments #

Total comments: 14

Patch Set 5 : Address comments #

Patch Set 6 : Fix DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+436 lines, -241 lines) Patch
M net/spdy/spdy_buffer.h View 4 chunks +23 lines, -8 lines 0 comments Download
M net/spdy/spdy_buffer.cc View 2 chunks +11 lines, -6 lines 0 comments Download
M net/spdy/spdy_buffer_unittest.cc View 3 chunks +11 lines, -4 lines 0 comments Download
M net/spdy/spdy_session.h View 1 2 3 4 3 chunks +53 lines, -30 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 2 3 4 7 chunks +103 lines, -73 lines 0 comments Download
M net/spdy/spdy_session_spdy3_unittest.cc View 1 2 4 chunks +85 lines, -30 lines 0 comments Download
M net/spdy/spdy_stream.h View 1 2 3 4 3 chunks +51 lines, -31 lines 0 comments Download
M net/spdy/spdy_stream.cc View 1 2 3 4 5 6 chunks +99 lines, -59 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
akalin
+rch for review
7 years, 8 months ago (2013-04-18 01:18:54 UTC) #1
Ryan Hamilton
lgtm https://codereview.chromium.org/14188025/diff/7001/net/spdy/spdy_session.cc File net/spdy/spdy_session.cc (right): https://codereview.chromium.org/14188025/diff/7001/net/spdy/spdy_session.cc#newcode2206 net/spdy/spdy_session.cc:2206: // an error and will be closing the ...
7 years, 8 months ago (2013-04-18 03:44:37 UTC) #2
akalin
Committing after trybots https://codereview.chromium.org/14188025/diff/7001/net/spdy/spdy_session.cc File net/spdy/spdy_session.cc (right): https://codereview.chromium.org/14188025/diff/7001/net/spdy/spdy_session.cc#newcode2206 net/spdy/spdy_session.cc:2206: // an error and will be ...
7 years, 8 months ago (2013-04-18 06:18:42 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/14188025/20001
7 years, 8 months ago (2013-04-18 06:25:21 UTC) #4
commit-bot: I haz the power
7 years, 8 months ago (2013-04-18 08:32:00 UTC) #5
Message was sent while issue was closed.
Change committed as 194851

Powered by Google App Engine
This is Rietveld 408576698