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

Issue 14760008: HostResolverImpl will return ERR_NAME_NOT_RESOLVED instead of Ok if address list is empty (Closed)

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

Description

HostResolverImpl will return ERR_NAME_NOT_RESOLVED instead of Ok if address list is empty BUG=224248 TEST=net_unittests --gtest_filter=HostResolverImplTest.EmptyListMeansNameNotResolved NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198799

Patch Set 1 #

Total comments: 11

Patch Set 2 : Address code review comments. #

Total comments: 2

Patch Set 3 : Removed Empty List check from OnProcTaskComplete. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -1 line) Patch
M net/dns/host_resolver_impl.cc View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M net/dns/host_resolver_impl_unittest.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
mef
Hi Szymon, could you take a look? I had to replace DCHECK with if() in ...
7 years, 7 months ago (2013-05-03 21:16:45 UTC) #1
szym
The realization that we had a DCHECK there makes me concerned that this won't make ...
7 years, 7 months ago (2013-05-04 07:46:32 UTC) #2
mef
Szymon, please take another look, I've addressed your comments. I've added another histogram, and I've ...
7 years, 7 months ago (2013-05-06 16:49:11 UTC) #3
szym
https://codereview.chromium.org/14760008/diff/6001/net/dns/host_resolver_impl.cc File net/dns/host_resolver_impl.cc (right): https://codereview.chromium.org/14760008/diff/6001/net/dns/host_resolver_impl.cc#newcode1444 net/dns/host_resolver_impl.cc:1444: bool empty_list_on_ok = (net_error == OK && addr_list.empty()); As ...
7 years, 7 months ago (2013-05-06 20:07:02 UTC) #4
mef
Szymon, PTAL. Sorry for being so stubborn. :-) thanks, -m https://codereview.chromium.org/14760008/diff/6001/net/dns/host_resolver_impl.cc File net/dns/host_resolver_impl.cc (right): https://codereview.chromium.org/14760008/diff/6001/net/dns/host_resolver_impl.cc#newcode1444 ...
7 years, 7 months ago (2013-05-07 14:53:40 UTC) #5
szym
LGTM. Please set BUG=224248 You can also add TEST=net_unittests --gtest_filter=HostResolverImplTest.EmptyListMeansNameNotResolved
7 years, 7 months ago (2013-05-07 15:09:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mef@chromium.org/14760008/12001
7 years, 7 months ago (2013-05-07 15:11:21 UTC) #7
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=124927
7 years, 7 months ago (2013-05-07 15:30:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mef@chromium.org/14760008/12001
7 years, 7 months ago (2013-05-07 20:07:13 UTC) #9
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=125265
7 years, 7 months ago (2013-05-07 21:13:02 UTC) #10
szym
Setting NOTRY=true to bypass issues with linux_rel trybot.
7 years, 7 months ago (2013-05-07 21:24:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mef@chromium.org/14760008/12001
7 years, 7 months ago (2013-05-07 21:24:13 UTC) #12
commit-bot: I haz the power
7 years, 7 months ago (2013-05-07 21:24:25 UTC) #13
Message was sent while issue was closed.
Change committed as 198799

Powered by Google App Engine
This is Rietveld 408576698