]> granicus.if.org Git - libevent/commit
Fix another nasty solaris getaddrinfo() behavior
authorNick Mathewson <nickm@torproject.org>
Sat, 8 May 2010 23:16:47 +0000 (19:16 -0400)
committerNick Mathewson <nickm@torproject.org>
Sat, 8 May 2010 23:34:10 +0000 (19:34 -0400)
commit35570716988ba70f28f9580818903437b6409bcb
tree5e60bc859b9cd6b2f947609775a9ed56a1e9c425
parent2cf2a286e42356601514d754acbcefc3cf0b23ad
Fix another nasty solaris getaddrinfo() behavior

Everybody else thinks that when you getaddrinfo() on an ip address
and don't specify the protocol and the socktype, it should give you
multiple answers , one for each protocol/socktype implementation.

OpenSolaris takes a funny view of RFC3493, and leaves the results set
to 0.

This patch post-processes the getaddrinfo() results for consistency.
evutil.c