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

Issue 2464263003: Limit exponential backoff for broken alternative services. (Closed)

Created:
4 years, 1 month ago by Bence
Modified:
4 years, 1 month ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, Ryan Hamilton
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Limit exponential backoff for broken alternative services. This is to limit overflow in shift. BUG=660617 Committed: https://crrev.com/3c0589bd98e3022091ee6fd899fe218182424ccc Cr-Commit-Position: refs/heads/master@{#430382}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Re: #7. #

Total comments: 4

Patch Set 3 : Clarify comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M net/http/http_server_properties_impl.cc View 1 2 2 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
Bence
Cherie: PTAL. Ryan: FYI. Thank you.
4 years, 1 month ago (2016-11-02 19:11:11 UTC) #6
Zhongyi Shi
https://codereview.chromium.org/2464263003/diff/1/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc (right): https://codereview.chromium.org/2464263003/diff/1/net/http/http_server_properties_impl.cc#newcode479 net/http/http_server_properties_impl.cc:479: ++count; What if the count >= kBrokenDelayMaxShift? I think ...
4 years, 1 month ago (2016-11-02 20:17:58 UTC) #7
Zhongyi Shi
Thanks for fixing this! https://codereview.chromium.org/2464263003/diff/20001/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc (right): https://codereview.chromium.org/2464263003/diff/20001/net/http/http_server_properties_impl.cc#newcode478 net/http/http_server_properties_impl.cc:478: int shift = recently_broken_alternative_services_[alternative_service] - ...
4 years, 1 month ago (2016-11-03 15:59:37 UTC) #12
Ryan Hamilton
https://codereview.chromium.org/2464263003/diff/20001/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc (right): https://codereview.chromium.org/2464263003/diff/20001/net/http/http_server_properties_impl.cc#newcode26 net/http/http_server_properties_impl.cc:26: // kBrokenAlternativeProtocolDelaySecs << kBrokenDelayMaxShift ~ 2 days. nit: I'm ...
4 years, 1 month ago (2016-11-03 16:16:22 UTC) #14
Bence
PTAL, thank you. https://codereview.chromium.org/2464263003/diff/1/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc (right): https://codereview.chromium.org/2464263003/diff/1/net/http/http_server_properties_impl.cc#newcode479 net/http/http_server_properties_impl.cc:479: ++count; On 2016/11/02 20:17:58, Zhongyi Shi ...
4 years, 1 month ago (2016-11-07 20:17:24 UTC) #15
Zhongyi Shi
lgtm
4 years, 1 month ago (2016-11-07 20:31:58 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2464263003/40001
4 years, 1 month ago (2016-11-07 20:33:52 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-07 21:46:17 UTC) #19
commit-bot: I haz the power
4 years, 1 month ago (2016-11-07 22:21:48 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3c0589bd98e3022091ee6fd899fe218182424ccc
Cr-Commit-Position: refs/heads/master@{#430382}

Powered by Google App Engine
This is Rietveld 408576698