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

Issue 15740018: [SPDY] Change SpdyStream::QueueStreamData() To SendStreamData() (Closed)

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

Description

[SPDY] Change SpdyStream::QueueStreamData() To SendStreamData() Change its semantics so that it holds a reference to the passed-in data and calls back to the delegate only when all the data has been sent. Fix bug where flow control wouldn't work for non-HTTP streams. Now it just queues up the next data frame (which must exist, since it must have been trying to send something when it got stalled). Remove now-redundant bytes_sent parameters from SpdyStream::Delegate methods. Remove now-redundant DrainableIOBuffer member variable in SpdyHttpStream. Remove now-redundant logic in SpdyProxyClientSocket to split up data to send into frames. Add SpdyStream tests for sending large blobs of data. Enable bidirectional flow control tests for SpdyStream. BUG=242288 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201828

Patch Set 1 #

Patch Set 2 : Fix comment #

Total comments: 7

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+444 lines, -212 lines) Patch
M net/spdy/spdy_http_stream.h View 2 chunks +3 lines, -4 lines 0 comments Download
M net/spdy/spdy_http_stream.cc View 7 chunks +16 lines, -21 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket.h View 2 chunks +2 lines, -4 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket.cc View 1 2 7 chunks +12 lines, -44 lines 0 comments Download
M net/spdy/spdy_session_spdy3_unittest.cc View 7 chunks +13 lines, -11 lines 0 comments Download
M net/spdy/spdy_stream.h View 1 6 chunks +31 lines, -14 lines 0 comments Download
M net/spdy/spdy_stream.cc View 8 chunks +72 lines, -45 lines 0 comments Download
M net/spdy/spdy_stream_spdy2_unittest.cc View 4 chunks +130 lines, -4 lines 0 comments Download
M net/spdy/spdy_stream_spdy3_unittest.cc View 6 chunks +134 lines, -12 lines 0 comments Download
M net/spdy/spdy_stream_test_util.h View 7 chunks +8 lines, -15 lines 0 comments Download
M net/spdy/spdy_stream_test_util.cc View 10 chunks +12 lines, -32 lines 0 comments Download
M net/spdy/spdy_websocket_stream.h View 2 chunks +3 lines, -2 lines 0 comments Download
M net/spdy/spdy_websocket_stream.cc View 4 chunks +8 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
akalin
+rch for review
7 years, 7 months ago (2013-05-23 00:13:12 UTC) #1
Ryan Hamilton
lgtm with nits https://chromiumcodereview.appspot.com/15740018/diff/6001/net/spdy/spdy_proxy_client_socket.cc File net/spdy/spdy_proxy_client_socket.cc (left): https://chromiumcodereview.appspot.com/15740018/diff/6001/net/spdy/spdy_proxy_client_socket.cc#oldcode241 net/spdy/spdy_proxy_client_socket.cc:241: // we need to send multiple ...
7 years, 7 months ago (2013-05-23 04:12:00 UTC) #2
akalin
committing soon https://chromiumcodereview.appspot.com/15740018/diff/6001/net/spdy/spdy_proxy_client_socket.cc File net/spdy/spdy_proxy_client_socket.cc (left): https://chromiumcodereview.appspot.com/15740018/diff/6001/net/spdy/spdy_proxy_client_socket.cc#oldcode241 net/spdy/spdy_proxy_client_socket.cc:241: // we need to send multiple data ...
7 years, 7 months ago (2013-05-23 05:29:38 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/akalin@chromium.org/15740018/16001
7 years, 7 months ago (2013-05-23 05:30:41 UTC) #4
Ryan Hamilton
https://chromiumcodereview.appspot.com/15740018/diff/6001/net/spdy/spdy_stream.cc File net/spdy/spdy_stream.cc (right): https://chromiumcodereview.appspot.com/15740018/diff/6001/net/spdy/spdy_stream.cc#newcode957 net/spdy/spdy_stream.cc:957: pending_send_flags_ = DATA_FLAG_NONE; On 2013/05/23 05:29:38, akalin wrote: > ...
7 years, 7 months ago (2013-05-23 16:26:30 UTC) #5
commit-bot: I haz the power
7 years, 7 months ago (2013-05-23 16:41:41 UTC) #6
Message was sent while issue was closed.
Change committed as 201828

Powered by Google App Engine
This is Rietveld 408576698