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

Issue 10448083: Fix out of order SYN_STEAM frames. (Closed)

Created:
8 years, 6 months ago by Ryan Hamilton
Modified:
8 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Instead of enqueueing SPDY frames, instead enqueue SPDY streams that are ready to produce data. This allows us to lazily allocate a stream id. BUG=111708 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=144649

Patch Set 1 #

Patch Set 2 : All tests pass! #

Patch Set 3 : Cleanup #

Patch Set 4 : Cleanup #

Patch Set 5 : Cleanup #

Total comments: 4

Patch Set 6 : Address willchan's comments. #

Total comments: 24

Patch Set 7 : Fix raman's comments #

Patch Set 8 : Fix willchan's comments #

Patch Set 9 : Make SpdyFrameProducer a nested class in SpdySession. #

Total comments: 7

Patch Set 10 : Fix indentation #

Patch Set 11 : Make activate stream static. #

Patch Set 12 : Change SpdyFrameProducer to SpdyIOBufferProducer. #

Patch Set 13 : Make CreateIOBuffer static. #

Patch Set 14 : Rebase #

Total comments: 2

Patch Set 15 : Fix willchan's comments #

Total comments: 27

Patch Set 16 : Fix raman's comments #

Patch Set 17 : Fix compile error on mac/android #

Patch Set 18 : Fix win compile error. #

Patch Set 19 : Add copy constructor to fix win build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+459 lines, -212 lines) Patch
M net/http/http_network_transaction_spdy2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -2 lines 0 comments Download
M net/http/http_network_transaction_spdy3_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -2 lines 0 comments Download
M net/spdy/spdy_io_buffer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +9 lines, -1 line 0 comments Download
M net/spdy/spdy_io_buffer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +15 lines, -0 lines 0 comments Download
M net/spdy/spdy_network_transaction_spdy2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +29 lines, -14 lines 0 comments Download
M net/spdy/spdy_network_transaction_spdy3_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +30 lines, -15 lines 0 comments Download
M net/spdy/spdy_session.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 10 chunks +72 lines, -16 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 25 chunks +152 lines, -99 lines 0 comments Download
M net/spdy/spdy_session_spdy2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +10 lines, -10 lines 0 comments Download
M net/spdy/spdy_session_spdy3_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 8 chunks +19 lines, -16 lines 0 comments Download
M net/spdy/spdy_stream.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +14 lines, -2 lines 0 comments Download
M net/spdy/spdy_stream.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 6 chunks +84 lines, -24 lines 0 comments Download
M net/spdy/spdy_stream_spdy2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -3 lines 0 comments Download
M net/spdy/spdy_stream_spdy3_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -3 lines 0 comments Download
M net/spdy/spdy_websocket_stream.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M net/spdy/spdy_websocket_stream_spdy2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +6 lines, -2 lines 0 comments Download
M net/spdy/spdy_websocket_stream_spdy3_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
Ryan Hamilton
willchan: fyi raman: can you please review this CL? It was a bit more invasive ...
8 years, 6 months ago (2012-06-06 16:42:33 UTC) #1
willchan no longer on Chromium
CL description needs more detail about what's changing, and SpdySession is complicated enough now that ...
8 years, 6 months ago (2012-06-07 23:02:06 UTC) #2
Ryan Hamilton
I'll also take a look at updating the class comment, though I've not done that ...
8 years, 6 months ago (2012-06-08 00:02:26 UTC) #3
Ryan Hamilton
On 2012/06/06 16:42:33, Ryan Hamilton wrote: > willchan: fyi > raman: can you please review ...
8 years, 6 months ago (2012-06-15 18:53:09 UTC) #4
ramant (doing other things)
Hi Ryan, Sorry for the delay. Some minor comments. thanks, raman http://codereview.chromium.org/10448083/diff/6002/net/spdy/spdy_frame_producer.h File net/spdy/spdy_frame_producer.h (right): ...
8 years, 6 months ago (2012-06-20 01:50:40 UTC) #5
Ryan Hamilton
OK, I've fixed raman's comments. Will stopped by yesterday with a few more. I've added ...
8 years, 6 months ago (2012-06-21 18:14:58 UTC) #6
Ryan Hamilton
Raman, I think I've got this working correctly. Can you take another look?
8 years, 6 months ago (2012-06-21 23:47:22 UTC) #7
willchan no longer on Chromium
https://chromiumcodereview.appspot.com/10448083/diff/22001/net/spdy/spdy_session.h File net/spdy/spdy_session.h (right): https://chromiumcodereview.appspot.com/10448083/diff/22001/net/spdy/spdy_session.h#newcode100 net/spdy/spdy_session.h:100: class NET_EXPORT_PRIVATE SpdyFrameProducer { Indentation https://chromiumcodereview.appspot.com/10448083/diff/22001/net/spdy/spdy_session.h#newcode111 net/spdy/spdy_session.h:111: virtual SpdyStream* ...
8 years, 6 months ago (2012-06-21 23:51:03 UTC) #8
Ryan Hamilton
https://chromiumcodereview.appspot.com/10448083/diff/22001/net/spdy/spdy_session.h File net/spdy/spdy_session.h (right): https://chromiumcodereview.appspot.com/10448083/diff/22001/net/spdy/spdy_session.h#newcode100 net/spdy/spdy_session.h:100: class NET_EXPORT_PRIVATE SpdyFrameProducer { On 2012/06/21 23:51:03, willchan wrote: ...
8 years, 6 months ago (2012-06-22 16:17:32 UTC) #9
willchan no longer on Chromium
https://chromiumcodereview.appspot.com/10448083/diff/22001/net/spdy/spdy_session.h File net/spdy/spdy_session.h (right): https://chromiumcodereview.appspot.com/10448083/diff/22001/net/spdy/spdy_session.h#newcode111 net/spdy/spdy_session.h:111: virtual SpdyStream* GetSpdyStream() = 0; On 2012/06/22 16:17:32, Ryan ...
8 years, 6 months ago (2012-06-22 21:10:44 UTC) #10
Ryan Hamilton
On 2012/06/22 21:10:44, willchan wrote: > https://chromiumcodereview.appspot.com/10448083/diff/22001/net/spdy/spdy_session.h > File net/spdy/spdy_session.h (right): > > https://chromiumcodereview.appspot.com/10448083/diff/22001/net/spdy/spdy_session.h#newcode111 > ...
8 years, 6 months ago (2012-06-22 22:54:05 UTC) #11
willchan no longer on Chromium
On 2012/06/22 22:54:05, Ryan Hamilton wrote: > On 2012/06/22 21:10:44, willchan wrote: > > > ...
8 years, 6 months ago (2012-06-22 23:07:11 UTC) #12
Ryan Hamilton
On 2012/06/22 23:07:11, willchan wrote: > On 2012/06/22 22:54:05, Ryan Hamilton wrote: > > On ...
8 years, 6 months ago (2012-06-22 23:47:06 UTC) #13
willchan no longer on Chromium
No major comments left. Just a stylistic nit. I defer to rtenneti for the rest. ...
8 years, 5 months ago (2012-06-26 17:07:27 UTC) #14
Ryan Hamilton
willchan: thanks for the final review ramant: over to you! http://codereview.chromium.org/10448083/diff/36004/net/spdy/spdy_stream.cc File net/spdy/spdy_stream.cc (right): http://codereview.chromium.org/10448083/diff/36004/net/spdy/spdy_stream.cc#newcode103 ...
8 years, 5 months ago (2012-06-26 17:55:24 UTC) #15
ramant (doing other things)
lgtm http://codereview.chromium.org/10448083/diff/37018/net/spdy/spdy_network_transaction_spdy2_unittest.cc File net/spdy/spdy_network_transaction_spdy2_unittest.cc (right): http://codereview.chromium.org/10448083/diff/37018/net/spdy/spdy_network_transaction_spdy2_unittest.cc#newcode5583 net/spdy/spdy_network_transaction_spdy2_unittest.cc:5583: // than they order they were created. nit: ...
8 years, 5 months ago (2012-06-26 23:30:25 UTC) #16
Ryan Hamilton
Thanks for the review! http://codereview.chromium.org/10448083/diff/37018/net/spdy/spdy_network_transaction_spdy2_unittest.cc File net/spdy/spdy_network_transaction_spdy2_unittest.cc (right): http://codereview.chromium.org/10448083/diff/37018/net/spdy/spdy_network_transaction_spdy2_unittest.cc#newcode5583 net/spdy/spdy_network_transaction_spdy2_unittest.cc:5583: // than they order they ...
8 years, 5 months ago (2012-06-27 16:58:28 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/10448083/50001
8 years, 5 months ago (2012-06-27 16:59:06 UTC) #18
commit-bot: I haz the power
Try job failure for 10448083-50001 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 5 months ago (2012-06-27 17:09:53 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/10448083/61001
8 years, 5 months ago (2012-06-27 19:14:18 UTC) #20
commit-bot: I haz the power
Try job failure for 10448083-61001 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 5 months ago (2012-06-27 19:34:33 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/10448083/57002
8 years, 5 months ago (2012-06-27 19:57:01 UTC) #22
commit-bot: I haz the power
Try job failure for 10448083-57002 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 5 months ago (2012-06-27 20:19:44 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/10448083/67001
8 years, 5 months ago (2012-06-28 00:27:29 UTC) #24
commit-bot: I haz the power
8 years, 5 months ago (2012-06-28 02:21:43 UTC) #25
Change committed as 144649

Powered by Google App Engine
This is Rietveld 408576698