[Xcb] [PATCH] Bug: Can’t connect to localhost without global connectivity
Rémi Denis-Courmont
remi at remlab.net
Sat Aug 13 13:18:34 PDT 2011
Le samedi 13 août 2011 22:54:05 Michael Stapelberg, vous avez écrit :
> 2) Drop the AI_ADDRCONFIG flag only when connecting to localhost,
> 127.0.0.0/8 or [::1]. This is a work-around, but should do the trick
> for most use cases. I have attached a patch for this.
There are infinitely many ways to refer to localhost. And I wouldn't
underestimate the originality of people setting DISPLAY, e.g.:
localhost.localdomain,
any representation of an IPv4 address in 127.0.0.0/8, such as 127.0.0.2 or
127.0.0.001,
any representation of ::1, such a 0:0:0:0:0:0:0:1,
any hostname pointing to localhost in /etc/hosts (this is typical of the
actual "hostname").
--
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis
More information about the Xcb
mailing list