Hi Nenad, On Tue, Jul 19, 2016 at 03:06:30PM +0200, Nenad Merdanovic wrote: > Adding Vincent here, as he maintains the Debian package. > > On 7/19/2016 2:21 PM, Albert Casademont wrote: > > Makes sense, I assumed that the Debian package was compiled with that > > option by default...it's a PITA that it is not, do you think this is > > something to be reported to the maintainers of the package? > > I am in favor of this change, especially since there are command line > and configuration options to disable gai() even though it is enabled > during build time. > > That being said, this change could break current configurations in such > a way that IPv6 starts being used over IPv4, leading to backends not > being available or silently breaking (RPAF/mod_realip or MySQL grants > don't get updated are the first breakages that come to mind)
I vaguely remind such a conversation in the past with reports of getaddrinfo() not returning what was expected. Maybe that's something to consider for a next major version (eg: 1.7). However we could possibly have something intermediary for 1.6 : having the option to force to use GAI and not use it by default. That wouldn't break existing setups and would allow those who need it to use it as-is. We'd basically build with "USE_GHBN_FIRST" in addition to "USE_GETADDRINFO", it would then use only gethostbyname except if the option forces the other one. Does this sound like a reasonable option ? Willy

