My favorites | Sign in
Project Home Downloads Wiki Issues
New issue   Search
for
  Advanced search   Search tips
Issue 49024: IPv4 localhost does not work when network interfaces only have IPv6 addresses
2 people starred this issue and may be notified of changes. Back to list
 
Reported by project member vandebo@chromium.org, Jul 13, 2010
A webserver that only listens on 127.0.0.1 is not accessible from Chrome if the network interfaces only have IPv6 address.  This bug may be Linux specific.

See https://spreadsheets.google.com/ccc?key=0AhSnKEusL6UgdFZIRmxTUnYtZDhjX3lKclBqMHo4YUE&hl=en&authkey=CLKDxMYB for additional information
Comment 1 by bugdroid1@gmail.com, Sep 3, 2010
The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=58534 

------------------------------------------------------------------------
r58534 | vandebo@chromium.org | 2010-09-03 13:34:27 -0700 (Fri, 03 Sep 2010) | 10 lines
Changed paths:
   M http://src.chromium.org/viewvc/chrome/trunk/src/net/base/address_family.h?r1=58534&r2=58533
   M http://src.chromium.org/viewvc/chrome/trunk/src/net/base/host_resolver_impl.cc?r1=58534&r2=58533
   M http://src.chromium.org/viewvc/chrome/trunk/src/net/base/host_resolver_proc.cc?r1=58534&r2=58533
   M http://src.chromium.org/viewvc/chrome/trunk/src/net/base/mock_host_resolver.cc?r1=58534&r2=58533

Fix remaining localhost resolution issues.

If host resolution is restricted to a single address family and the results of a resolution are all localhost of that type, try again without the address family restriction.

Also make --disable-ipv6 apply to resolution of ip literals.

BUG=42058, 49024, 32522
TEST=Manual testing in various network configurations. See https://spreadsheets.google.com/ccc?key=0AhSnKEusL6UgdFZIRmxTUnYtZDhjX3lKclBqMHo4YUE&hl=en&authkey=CLKDxMYB

Review URL: http://codereview.chromium.org/3231005
------------------------------------------------------------------------

Comment 2 by vandebo@chromium.org, Sep 7, 2010
(No comment was entered for this change.)
Status: Fixed
Comment 3 by glory.le...@gmail.com, Oct 12, 2010
Unsure how the end user should test this.
Sign in to add a comment

Powered by Google Project Hosting