Bug#438179: [EMAIL PROTECTED]: Re: [PATCH] getaddrinfo(): option to not sort IPv4 addresses]

2007-08-20 Thread Aurelien Jarno
Please find attached the answer from upstream about this problem. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `-people.debian.org/~aurel32 | www.aurel32.net

Bug#438179: [EMAIL PROTECTED]: Re: [PATCH] getaddrinfo(): option to not sort IPv4 addresses]

2007-08-20 Thread Kurt Roeckx
The reason we have that sorting is to get consistency. I won't add such an option to disturb it. Not to sort is completely, utterly wrong since the order in which addresses are returned from the service are more or less random. The random order is exactly the point in the first!

Bug#438179: [EMAIL PROTECTED]: Re: [PATCH] getaddrinfo(): option to not sort IPv4 addresses]

2007-08-20 Thread Juliusz Chroboczek
I think libc is completely correct in what it's doing. The bug is in NTP. Historically, there is some ambiguity in the interpretation of multiple addresses returned by a DNS query. One possible interpretation is to consider all the addresses as equivalent, and therefore to try to sort them on

Bug#438179: [EMAIL PROTECTED]: Re: [PATCH] getaddrinfo(): option to not sort IPv4 addresses]

2007-08-20 Thread Pierre Habouzit
On Mon, Aug 20, 2007 at 10:15:03PM +, Kurt Roeckx wrote: The reason we have that sorting is to get consistency. I won't add such an option to disturb it. Not to sort is completely, utterly wrong since the order in which addresses are returned from the service are more or less