Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Issue 22909037: [net/dns] Reland of 218616 (Simultaneous A/AAAA queries). (Closed)

Created:
7 years, 4 months ago by mmenke
Modified:
7 years, 3 months ago
Reviewers:
szym
CC:
chromium-reviews, cbentzel+watch_chromium.org, mmenke
Visibility:
Public.

Description

Reland of 218616. It was reverted in 219027 due to crashes in the case of responses with no addresses. > [net/dns] Perform A/AAAA queries for AF_UNSPEC resolutions in parallel. > > The second DnsTransaction is scheduled as a second job on the resolver's > PrioritizedDispatcher, at the beginning of its priority queue. The two > DnsTransactions run independently of each other, although if one of them > finishes with an error, the other one will be scrapped immediately, and > the Job will fall back to ProcTask. > > BUG=174992 > > Original Review URL: https://chromiumcodereview.appspot.com/19498003 Revert URL: https://codereview.chromium.org/23102009 BUG=174992, 277625 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221469

Patch Set 1 #

Patch Set 2 : Fix bug, add tests #

Patch Set 3 : Fix other issue (And a sync) #

Patch Set 4 : Add missing file #

Patch Set 5 : Fix bug, add test, update comments #

Patch Set 6 : Fix test #

Total comments: 16

Patch Set 7 : Response to comments #

Patch Set 8 : Fix printing unsigned #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1135 lines, -247 lines) Patch
M chrome/browser/net/dns_probe_test_util.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M net/base/prioritized_dispatcher.h View 1 2 2 chunks +21 lines, -0 lines 0 comments Download
M net/base/prioritized_dispatcher.cc View 1 2 3 4 4 chunks +60 lines, -16 lines 0 comments Download
M net/base/prioritized_dispatcher_unittest.cc View 1 2 3 4 5 6 6 chunks +212 lines, -10 lines 0 comments Download
M net/base/priority_queue.h View 1 2 2 chunks +21 lines, -0 lines 0 comments Download
M net/base/priority_queue_unittest.cc View 1 2 2 chunks +16 lines, -1 line 0 comments Download
M net/dns/dns_test_util.h View 1 2 3 chunks +30 lines, -5 lines 0 comments Download
M net/dns/dns_test_util.cc View 1 2 7 chunks +65 lines, -46 lines 0 comments Download
M net/dns/host_resolver_impl.h View 1 2 3 4 3 chunks +13 lines, -2 lines 0 comments Download
M net/dns/host_resolver_impl.cc View 1 2 3 4 5 6 25 chunks +259 lines, -116 lines 0 comments Download
M net/dns/host_resolver_impl_unittest.cc View 1 2 3 4 5 6 7 12 chunks +435 lines, -48 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
mmenke
Thanks for pointing out where the problem was, made things simpler. Was able to get ...
7 years, 4 months ago (2013-08-22 18:20:39 UTC) #1
mmenke
Fixed the other crasher. Looked through the other browser crashes, and all net:: crashes looked ...
7 years, 3 months ago (2013-08-28 19:44:31 UTC) #2
szym
Excellent work. LGTM https://codereview.chromium.org/22909037/diff/110001/net/base/prioritized_dispatcher_unittest.cc File net/base/prioritized_dispatcher_unittest.cc (right): https://codereview.chromium.org/22909037/diff/110001/net/base/prioritized_dispatcher_unittest.cc#newcode444 net/base/prioritized_dispatcher_unittest.cc:444: TestJob* job_e = AddJobAtHead('e', MEDIUM); nit: ...
7 years, 3 months ago (2013-08-30 19:25:41 UTC) #3
mmenke
Thanks for the feedback! I think I'll land Wednesday or Thursday, since I'm taking two ...
7 years, 3 months ago (2013-08-30 19:52:25 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/22909037/138001
7 years, 3 months ago (2013-09-05 15:35:53 UTC) #5
commit-bot: I haz the power
7 years, 3 months ago (2013-09-05 18:26:54 UTC) #6
Message was sent while issue was closed.
Change committed as 221469

Powered by Google App Engine
This is Rietveld 408576698