mailing list of musl libc
 help / color / mirror / code / Atom feed
From: John Mudd <johnbmudd@gmail.com>
To: John Mudd <John.B.Mudd@gmail.com>
Cc: musl <musl@lists.openwall.com>
Subject: Re: getaddrinfo, ip address sort order?
Date: Fri, 3 Jun 2016 11:25:18 -0400	[thread overview]
Message-ID: <CAGDMk9GgiMC060b=bygoQ3HNGf94ZC83yXTtU9oonRD-aOr2yg@mail.gmail.com> (raw)
In-Reply-To: <CAGDMk9Ht0Jb4UkpxzKrvo5cNMJViY_4a20+G3oEXD9im03PH7w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1065 bytes --]

Sorry, I see it listed now in release notes.
https://www.musl-libc.org/oldversions.html

Jun 25, 2014
This release adds many features including result sorting in the DNS/hosts
resolver modeled on RFC 3484, default timezone from /etc/localtime, gnu2
TLS dialect (TLSDESC) on i386 and x86_64, sendmmsg/recvmmsg functions
(Linux extensions), fmtmsg function (XSI), and optional arguments in getopt
(GNU extension). Handling of poorly-behaved nameservers (rcode=2 ServFail
result) is also improved, and setting of the %gs thread register is now
supported on pre-2.6 i386 kernels. Several bugs are fixed including a
potentially-important issue in memmem.

On Fri, Jun 3, 2016 at 11:21 AM, John Mudd <johnbmudd@gmail.com> wrote:

> I read that getaddrinfo() returns addresses sorted based on RFC 3484. I'm
> using the attached program to test it and I'm not sure if they are sorted.
>
> I looked at the musl getaddrinfo.c here:
> https://github.com/idunham/musl/blob/master/src/network/getaddrinfo.c
>
> I don't see an obvious sort in the code. Is it there?
>
> John
>
>

[-- Attachment #2: Type: text/html, Size: 1738 bytes --]

  reply	other threads:[~2016-06-03 15:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-03 15:21 John Mudd
2016-06-03 15:25 ` John Mudd [this message]
2016-06-03 16:08 ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGDMk9GgiMC060b=bygoQ3HNGf94ZC83yXTtU9oonRD-aOr2yg@mail.gmail.com' \
    --to=johnbmudd@gmail.com \
    --cc=John.B.Mudd@gmail.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).