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

Issue 675783005: QUIC - Always pesist 200 MRU alternate protocols to preferences file. (Closed)

Created:
6 years, 2 months ago by ramant (doing other things)
Modified:
6 years, 1 month ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

QUIC - Always pesist 200 MRU alternate protocols to preferences file. Deleted the experiment to load either 200 or 1000 servers from disk. + Obsoleted the following histograms ++ Net.AlternateProtocolUsage.200Truncated ++ Net.AlternateProtocolUsage.1000Truncated Reverted the changes related to the above from the following CL: https://codereview.chromium.org/298683010/ R=jar@chromium.org, rch@chromium.org Committed: https://crrev.com/7a6c3e8f4978572660f16b3724c8dbcf0205761c Cr-Commit-Position: refs/heads/master@{#301070}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Persist only 200 MRU AlternateProtocolHostPortPairs #

Total comments: 2

Patch Set 3 : avoid re-loading more than we know we'll next save #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -115 lines) Patch
M net/http/http_server_properties.h View 4 chunks +2 lines, -19 lines 0 comments Download
M net/http/http_server_properties.cc View 1 chunk +1 line, -12 lines 0 comments Download
M net/http/http_server_properties_impl.h View 2 chunks +0 lines, -6 lines 0 comments Download
M net/http/http_server_properties_impl.cc View 3 chunks +1 line, -14 lines 0 comments Download
M net/http/http_server_properties_manager.h View 2 chunks +0 lines, -6 lines 0 comments Download
M net/http/http_server_properties_manager.cc View 1 2 9 chunks +3 lines, -39 lines 0 comments Download
M net/http/http_server_properties_manager_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M net/http/http_stream_factory_impl.cc View 1 chunk +1 line, -3 lines 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 1 chunk +3 lines, -14 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (1 generated)
ramant (doing other things)
6 years, 2 months ago (2014-10-23 20:53:19 UTC) #1
ramant (doing other things)
https://codereview.chromium.org/675783005/diff/1/net/http/http_server_properties_manager.cc File net/http/http_server_properties_manager.cc (right): https://codereview.chromium.org/675783005/diff/1/net/http/http_server_properties_manager.cc#newcode47 net/http/http_server_properties_manager.cc:47: const int kMaxAlternateProtocolHostsToPersist = 1000; rch and jar: we ...
6 years, 2 months ago (2014-10-23 21:02:52 UTC) #2
jar (doing other things)
https://codereview.chromium.org/675783005/diff/1/net/http/http_server_properties_manager.cc File net/http/http_server_properties_manager.cc (right): https://codereview.chromium.org/675783005/diff/1/net/http/http_server_properties_manager.cc#newcode47 net/http/http_server_properties_manager.cc:47: const int kMaxAlternateProtocolHostsToPersist = 1000; On 2014/10/23 21:02:52, ramant ...
6 years, 2 months ago (2014-10-23 21:38:43 UTC) #3
ramant (doing other things)
PTAL. https://codereview.chromium.org/675783005/diff/1/net/http/http_server_properties_manager.cc File net/http/http_server_properties_manager.cc (right): https://codereview.chromium.org/675783005/diff/1/net/http/http_server_properties_manager.cc#newcode47 net/http/http_server_properties_manager.cc:47: const int kMaxAlternateProtocolHostsToPersist = 1000; On 2014/10/23 21:38:43, ...
6 years, 2 months ago (2014-10-23 22:53:57 UTC) #4
jar (doing other things)
https://codereview.chromium.org/675783005/diff/20001/net/http/http_server_properties_manager.cc File net/http/http_server_properties_manager.cc (left): https://codereview.chromium.org/675783005/diff/20001/net/http/http_server_properties_manager.cc#oldcode448 net/http/http_server_properties_manager.cc:448: if (count >= alternate_protocols_to_load) I think this is OK. ...
6 years, 2 months ago (2014-10-23 23:11:51 UTC) #5
ramant (doing other things)
The only change I have made from Patch Set 1 is to change kMaxAlternateProtocolHostsToPersist to ...
6 years, 2 months ago (2014-10-23 23:27:20 UTC) #6
jar (doing other things)
lgtm
6 years, 2 months ago (2014-10-24 00:39:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/675783005/40001
6 years, 2 months ago (2014-10-24 05:45:15 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 2 months ago (2014-10-24 07:26:28 UTC) #10
commit-bot: I haz the power
6 years, 2 months ago (2014-10-24 07:27:15 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7a6c3e8f4978572660f16b3724c8dbcf0205761c
Cr-Commit-Position: refs/heads/master@{#301070}

Powered by Google App Engine
This is Rietveld 408576698