More robust get_address_info
authorBrennanConroy <brecon@microsoft.com>
Thu, 23 Jul 2015 18:52:29 +0000 (11:52 -0700)
committerBrennanConroy <brecon@microsoft.com>
Thu, 23 Jul 2015 18:52:29 +0000 (11:52 -0700)
commit429ee4b1621e9798b3c4f6f39e03e2404484db19
treee28ffe47ae6b9f319c7d9819c38e3e3bbc8e96e1
parent3aa5330d7ebb73f41686b0a1d20c71c4e58e735a
More robust get_address_info

We have been running into this issue: https://bugzilla.xamarin.com/show_bug.cgi?id=30018 a lot recently, after digging into getaddrinfo a bit we saw that the linked list of addrinfo structs had 1 or more valid ones which can be used and 1 bad one which should just be discarded.
mono/utils/networking-posix.c