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

Issue 2821019: Do not try to resolve empty hostnames. (Closed)

Created:
10 years, 6 months ago by jochen (gone - plz use gerrit)
Modified:
9 years, 7 months ago
Reviewers:
Aaron Boodman, eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Do not try to resolve empty hostnames. BUG=47501 TEST=none

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M net/proxy/proxy_resolver_v8.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
jochen (gone - plz use gerrit)
please review. There's a DCHECK for non-empty hostname in chrome/browser/net/dns_global.cc that gets triggered from here.
10 years, 6 months ago (2010-06-25 08:18:26 UTC) #1
Aaron Boodman
lgtm
10 years, 6 months ago (2010-06-25 08:21:23 UTC) #2
jochen (gone - plz use gerrit)
10 years, 6 months ago (2010-06-25 10:27:57 UTC) #3
On 2010/06/25 08:21:23, Aaron Boodman wrote:
> lgtm

turns out an empty hostname is valid for this function and should return
127.0.0.1

Powered by Google App Engine
This is Rietveld 408576698