|
[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
Total comments: 7
|
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
|
Total messages: 6 (0 generated)
|