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

Issue 995013004: Add IsAlternativeServiceBroken(), remove is_broken. (Closed)

Created:
5 years, 9 months ago by Bence
Modified:
5 years, 9 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

Add IsAlternativeServiceBroken(), remove is_broken. Add HttpServerProperties::IsAlternativeServiceBroken(), remove AlternateProtocolInfo.is_broken. An alternative service can be broken by itself, not with respect to an origin. BUG=392576 R=rch@chromium.org Committed: https://crrev.com/c0844e78ad3dd640f6a2a84f57681ead31647b07 Cr-Commit-Position: refs/heads/master@{#320116}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Re: nits. #

Patch Set 3 : More nits. #

Total comments: 2

Patch Set 4 : Brokenness test in Manager. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -78 lines) Patch
M net/http/http_network_transaction_unittest.cc View 2 chunks +7 lines, -5 lines 0 comments Download
M net/http/http_server_properties.h View 3 chunks +6 lines, -18 lines 0 comments Download
M net/http/http_server_properties.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M net/http/http_server_properties_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M net/http/http_server_properties_impl.cc View 1 2 5 chunks +36 lines, -14 lines 0 comments Download
M net/http/http_server_properties_impl_unittest.cc View 4 chunks +14 lines, -28 lines 0 comments Download
M net/http/http_server_properties_manager.h View 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M net/http/http_server_properties_manager.cc View 1 2 3 6 chunks +22 lines, -5 lines 0 comments Download
M net/http/http_stream_factory_impl.cc View 1 chunk +3 lines, -1 line 0 comments Download
M net/quic/quic_network_transaction_unittest.cc View 1 chunk +6 lines, -3 lines 0 comments Download

Messages

Total messages: 24 (6 generated)
Bence
Ryan, PTAL. Thanks.
5 years, 9 months ago (2015-03-10 16:52:50 UTC) #2
Ryan Hamilton
Looks great. Just a few small comments. Starting to be able to see the future! ...
5 years, 9 months ago (2015-03-10 21:05:46 UTC) #3
Bence
Ryan, PTAL. https://codereview.chromium.org/995013004/diff/1/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc (right): https://codereview.chromium.org/995013004/diff/1/net/http/http_server_properties_impl.cc#newcode348 net/http/http_server_properties_impl.cc:348: return broken_alternative_services_.find(alternative_service) != On 2015/03/10 21:05:46, Ryan ...
5 years, 9 months ago (2015-03-10 21:46:13 UTC) #4
Ryan Hamilton
https://codereview.chromium.org/995013004/diff/1/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc (right): https://codereview.chromium.org/995013004/diff/1/net/http/http_server_properties_impl.cc#newcode370 net/http/http_server_properties_impl.cc:370: ignore_result(broken_alternative_services_.erase(alternative_service)); On 2015/03/10 21:46:13, Bence wrote: > On 2015/03/10 ...
5 years, 9 months ago (2015-03-10 22:15:27 UTC) #5
Bence
Ryan, thanks for your feedback. PTYAL. https://codereview.chromium.org/995013004/diff/1/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc (right): https://codereview.chromium.org/995013004/diff/1/net/http/http_server_properties_impl.cc#newcode370 net/http/http_server_properties_impl.cc:370: ignore_result(broken_alternative_services_.erase(alternative_service)); On 2015/03/10 ...
5 years, 9 months ago (2015-03-10 22:54:41 UTC) #6
Ryan Hamilton
lgtm modulo one suggestion I should have noticed earlier. https://codereview.chromium.org/995013004/diff/40001/net/http/http_server_properties_manager.cc File net/http/http_server_properties_manager.cc (right): https://codereview.chromium.org/995013004/diff/40001/net/http/http_server_properties_manager.cc#newcode841 net/http/http_server_properties_manager.cc:841: ...
5 years, 9 months ago (2015-03-10 23:11:52 UTC) #7
Bence
Thanks. https://codereview.chromium.org/995013004/diff/40001/net/http/http_server_properties_manager.cc File net/http/http_server_properties_manager.cc (right): https://codereview.chromium.org/995013004/diff/40001/net/http/http_server_properties_manager.cc#newcode841 net/http/http_server_properties_manager.cc:841: if (IsAlternativeServiceBroken(alternative_service)) On 2015/03/10 23:11:52, Ryan Hamilton wrote: ...
5 years, 9 months ago (2015-03-11 02:47:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/995013004/60001
5 years, 9 months ago (2015-03-11 02:47:52 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/41896)
5 years, 9 months ago (2015-03-11 07:32:38 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/995013004/60001
5 years, 9 months ago (2015-03-11 13:23:52 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/42018)
5 years, 9 months ago (2015-03-11 18:21:59 UTC) #17
Bence
Committed patchset #4 (id:60001) manually as c0844e78ad3dd640f6a2a84f57681ead31647b07 (presubmit successful).
5 years, 9 months ago (2015-03-11 18:49:04 UTC) #18
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/c0844e78ad3dd640f6a2a84f57681ead31647b07 Cr-Commit-Position: refs/heads/master@{#320116}
5 years, 9 months ago (2015-03-11 18:50:00 UTC) #19
Bence
On 2015/03/11 18:50:00, I haz the power (commit-bot) wrote: > Patchset 4 (id:??) landed as ...
5 years, 9 months ago (2015-03-11 18:52:24 UTC) #20
Lei Zhang
On 2015/03/11 18:52:24, Bence wrote: > On 2015/03/11 18:50:00, I haz the power (commit-bot) wrote: ...
5 years, 9 months ago (2015-03-11 20:59:39 UTC) #21
Lei Zhang
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/999893002/ by thestig@chromium.org. ...
5 years, 9 months ago (2015-03-11 21:00:42 UTC) #22
Lei Zhang
For the record: http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%29%281%29%2832%29/builds/10908 fails in the same way that the trybots failed.
5 years, 9 months ago (2015-03-11 21:02:23 UTC) #23
Bence
5 years, 9 months ago (2015-03-11 21:06:30 UTC) #24
Message was sent while issue was closed.
On 2015/03/11 20:59:39, Lei Zhang wrote:
> On 2015/03/11 18:52:24, Bence wrote:
> > On 2015/03/11 18:50:00, I haz the power (commit-bot) wrote:
> > > Patchset 4 (id:??) landed as
> > > https://crrev.com/c0844e78ad3dd640f6a2a84f57681ead31647b07
> > > Cr-Commit-Position: refs/heads/master@{#320116}
> > 
> > I believe that CQ failed because of some infra problem, not because of the
CL,
> > that's why I landed manually.
> 
> Erm, if you look in the logs carefully, you'll see:
> 
> [19945:19945:0311/110444:FATAL:http_server_properties_manager.cc(209)] Check
> failed: network_task_runner_->RunsTasksOnCurrentThread()
> 
> Now my ToT build fails the same way.

I'm sorry.  Thanks for reverting.

Powered by Google App Engine
This is Rietveld 408576698