Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(418)

Issue 14311002: [SPDY] Avoid leaking bytes from the session flow control receive 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 receive window Add a way to add ConsumeCallbacks to a SpdyBuffer in order to be notified when Consume() is called. Use that to ensure that flow control receive windows are updated appropriately regardless of what the SpdyStream's delegate does. Make IncreaseRevWindowSize private in both SpdyStream and SpdySession. BUG=176592 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194655

Patch Set 1 #

Total comments: 3

Patch Set 2 : Address comments #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+300 lines, -120 lines) Patch
M net/spdy/spdy_buffer.h View 1 4 chunks +14 lines, -2 lines 0 comments Download
M net/spdy/spdy_buffer.cc View 3 chunks +13 lines, -1 line 0 comments Download
M net/spdy/spdy_buffer_unittest.cc View 2 chunks +29 lines, -1 line 0 comments Download
M net/spdy/spdy_http_stream.cc View 1 chunk +1 line, -4 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket.cc View 1 chunk +1 line, -6 lines 0 comments Download
M net/spdy/spdy_session.h View 1 2 3 chunks +11 lines, -7 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 2 3 chunks +33 lines, -29 lines 0 comments Download
M net/spdy/spdy_session_spdy3_unittest.cc View 1 2 6 chunks +116 lines, -10 lines 0 comments Download
M net/spdy/spdy_stream.h View 2 chunks +10 lines, -10 lines 0 comments Download
M net/spdy/spdy_stream.cc View 3 chunks +36 lines, -36 lines 0 comments Download
M net/spdy/spdy_stream_spdy2_unittest.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M net/spdy/spdy_stream_spdy3_unittest.cc View 5 chunks +9 lines, -5 lines 0 comments Download
M net/spdy/spdy_stream_test_util.h View 3 chunks +6 lines, -2 lines 0 comments Download
M net/spdy/spdy_stream_test_util.cc View 3 chunks +16 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
akalin
+rch for review
7 years, 8 months ago (2013-04-16 23:07:38 UTC) #1
Ryan Hamilton
lgtm https://codereview.chromium.org/14311002/diff/1/net/spdy/spdy_buffer.cc File net/spdy/spdy_buffer.cc (right): https://codereview.chromium.org/14311002/diff/1/net/spdy/spdy_buffer.cc#newcode65 net/spdy/spdy_buffer.cc:65: it->Run(consume_size); Is there any chance that executing one ...
7 years, 8 months ago (2013-04-16 23:41:32 UTC) #2
akalin
Committing as soon as https://codereview.chromium.org/13990005/ lands and the trybots pass https://codereview.chromium.org/14311002/diff/1/net/spdy/spdy_buffer.cc File net/spdy/spdy_buffer.cc (right): https://codereview.chromium.org/14311002/diff/1/net/spdy/spdy_buffer.cc#newcode65 ...
7 years, 8 months ago (2013-04-16 23:53:10 UTC) #3
Ryan Hamilton
https://codereview.chromium.org/14311002/diff/1/net/spdy/spdy_buffer.cc File net/spdy/spdy_buffer.cc (right): https://codereview.chromium.org/14311002/diff/1/net/spdy/spdy_buffer.cc#newcode65 net/spdy/spdy_buffer.cc:65: it->Run(consume_size); On 2013/04/16 23:53:10, akalin wrote: > On 2013/04/16 ...
7 years, 8 months ago (2013-04-17 00:14:32 UTC) #4
akalin
7 years, 8 months ago (2013-04-17 19:23:55 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r194655 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698