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

Issue 881133004: QUIC - Race two connections. One connection which loads data from disk (Closed)

Created:
5 years, 10 months ago by ramant (doing other things)
Modified:
5 years, 10 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

QUIC - Race two connections. One connection which loads data from disk cache sends a CHLO and another connection that doesn't wait to load server config from disk cache and sends INCHOATE_HELLO. This is not enabled. QuicStreamFactory tests with this flag enabled and disabled. Tested chrome and all unit tests with this flag enabled. R=rch@chromium.org Committed: https://crrev.com/14abd31d803b6459e73a32092b3c46b17539db51 Cr-Commit-Position: refs/heads/master@{#315117}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : Fix comments for Patch Set 2 #

Patch Set 4 : main job doesn't load server config #

Patch Set 5 : race two connection until job completion #

Patch Set 6 : fix comments #

Patch Set 7 : Cancel the job if disk cache doesn't have a server config #

Total comments: 20

Patch Set 8 : Fix comments #

Total comments: 12

Patch Set 9 : Fix comments for patch set 8 #

Patch Set 10 : Merge with TOT, minor cleanup and unittest for racing #

Total comments: 11

Patch Set 11 : Fix comments for Patch Set 10 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -91 lines) Patch
M net/quic/quic_crypto_client_stream.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/quic/quic_protocol.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M net/quic/quic_stream_factory.h View 1 2 3 4 5 6 7 8 5 chunks +25 lines, -4 lines 0 comments Download
M net/quic/quic_stream_factory.cc View 1 2 3 4 5 6 7 8 9 10 27 chunks +148 lines, -77 lines 1 comment Download
M net/quic/quic_stream_factory_test.cc View 1 2 3 4 5 6 7 8 9 10 chunks +99 lines, -7 lines 0 comments Download
M net/quic/quic_utils.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 29 (14 generated)
ramant (doing other things)
Hi Ryan, Implemented racing of QUIC connections. Tested chromium by enabling and disabling the connection ...
5 years, 10 months ago (2015-01-31 01:25:15 UTC) #3
Ryan Hamilton
https://codereview.chromium.org/881133004/diff/40001/net/quic/quic_stream_factory.cc File net/quic/quic_stream_factory.cc (right): https://codereview.chromium.org/881133004/diff/40001/net/quic/quic_stream_factory.cc#newcode184 net/quic/quic_stream_factory.cc:184: bool is_cancelled() const { return is_cancelled_; } nit: newline ...
5 years, 10 months ago (2015-02-03 18:54:36 UTC) #4
ramant (doing other things)
Hi Ryan, Uploaded multiple implementations of racing of server config jobs. + One approach (uses ...
5 years, 10 months ago (2015-02-04 17:40:46 UTC) #6
Ryan Hamilton
https://codereview.chromium.org/881133004/diff/180001/net/quic/quic_network_transaction_unittest.cc File net/quic/quic_network_transaction_unittest.cc (right): https://codereview.chromium.org/881133004/diff/180001/net/quic/quic_network_transaction_unittest.cc#newcode260 net/quic/quic_network_transaction_unittest.cc:260: GetParam().enable_connection_racing); I'm a bit surprised that these tests pass ...
5 years, 10 months ago (2015-02-04 20:10:30 UTC) #8
ramant (doing other things)
Did what we had talked offline. PTAL. Thanks very much raman https://codereview.chromium.org/881133004/diff/180001/net/quic/quic_network_transaction_unittest.cc File net/quic/quic_network_transaction_unittest.cc (right): ...
5 years, 10 months ago (2015-02-05 03:39:41 UTC) #11
ramant (doing other things)
Hi Ryan, Tested loading all properties multiple times with connection racing enabled and disabled. Cleaned ...
5 years, 10 months ago (2015-02-05 20:06:28 UTC) #16
Ryan Hamilton
I need to run off to a tech-talk, but here are the thoughts I have ...
5 years, 10 months ago (2015-02-05 20:30:28 UTC) #17
ramant (doing other things)
Made all the changes we had discussed offline (to Cancel the job). PTAL. Thanks very ...
5 years, 10 months ago (2015-02-06 00:59:42 UTC) #18
Ryan Hamilton
Looking great! https://codereview.chromium.org/881133004/diff/410001/net/quic/quic_stream_factory.cc File net/quic/quic_stream_factory.cc (right): https://codereview.chromium.org/881133004/diff/410001/net/quic/quic_stream_factory.cc#newcode339 net/quic/quic_stream_factory.cc:339: CancelWaitForDataReadyPendingCallback(); Does this call itself? https://codereview.chromium.org/881133004/diff/410001/net/quic/quic_stream_factory.cc#newcode424 net/quic/quic_stream_factory.cc:424: ...
5 years, 10 months ago (2015-02-06 18:22:48 UTC) #22
ramant (doing other things)
Thanks very much for your comments Ryan. PTAL. https://codereview.chromium.org/881133004/diff/410001/net/quic/quic_stream_factory.cc File net/quic/quic_stream_factory.cc (right): https://codereview.chromium.org/881133004/diff/410001/net/quic/quic_stream_factory.cc#newcode172 net/quic/quic_stream_factory.cc:172: void ...
5 years, 10 months ago (2015-02-06 19:30:32 UTC) #23
Ryan Hamilton
lgtm thanks for getting this done!
5 years, 10 months ago (2015-02-06 19:48:32 UTC) #24
ramant (doing other things)
On 2015/02/06 19:48:32, Ryan Hamilton wrote: > lgtm > > thanks for getting this done! ...
5 years, 10 months ago (2015-02-06 19:50:16 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/881133004/430001
5 years, 10 months ago (2015-02-06 19:51:54 UTC) #27
commit-bot: I haz the power
Committed patchset #11 (id:430001)
5 years, 10 months ago (2015-02-06 21:56:09 UTC) #28
commit-bot: I haz the power
5 years, 10 months ago (2015-02-06 21:57:01 UTC) #29
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/14abd31d803b6459e73a32092b3c46b17539db51
Cr-Commit-Position: refs/heads/master@{#315117}

Powered by Google App Engine
This is Rietveld 408576698