[Xcb] [PATCH] Bug: Can’t connect to localhost without global connectivity

Josh Triplett josh at joshtriplett.org
Mon Aug 15 12:05:57 PDT 2011


On Mon, Aug 15, 2011 at 07:12:43PM +0300, Rémi Denis-Courmont wrote:
> Le lundi 15 août 2011 18:45:02 Jamey Sharp, vous avez écrit :
> > p.s. I'm not even sure why flags like this exist. Seems like it should
> > be site policy, never per-application policy. How is the application
> > supposed to know?
> 
> The whole point of the flag is to not try addess families that are expected to 
> fail anyhow.
> 
> In the old days, the "default on-link" assumption in IPv6 made the flag vey 
> much indispensable for dual-stack hosts on IPv4-only networks. Without it, 
> there would be long timeouts trying non-existent IPv6 connectivity. Nowadays, 
> this assumption has been flagged as historic bad practice by IETF, and hosts 
> should have been updated to not make it anymore.

As far as I know, we used AI_ADDRCONFIG for exactly the historical
reason you describe, and if that historical reason no longer applies on
current systems, we should go ahead and drop it.

- Josh Triplett


More information about the Xcb mailing list