Re: [PATCH] Use libresolv to initialize cares on iPhone targets

2016-01-18 Thread Gregor Jasny
Hi, David Drysdale wrote: Thanks, I've pulled that change in (with a trvial tweak to break out of the loop on strdup failure). thanks for merging. I would suggest that you remove the tweak because now deallocation is broken. The problem is that now the upper array elements are

Re: [PATCH] Use libresolv to initialize cares on iPhone targets

2016-01-09 Thread Gregor Jasny
Hello, On 25/11/15 15:24, Gregor Jasny wrote: > this is a reworked version of Yury Kirpichev's patch to add iOS support > to cares. Compared to the former version the following has been added: > > * IPv6 name server now work properly. The ones ones in nsaddr_list have > their address family

[PATCH] Use libresolv to initialize cares on iPhone targets

2015-11-25 Thread Gregor Jasny
resolv to initialize cares on iPhone targets On iPhone targets like iOS, watchOS or tvOS the file /etc/resolv.conf cannot be used to configure cares. Instead the resolver library is queried for configuration values. CC: Yury Kirpichev <ykirpic...@yandex-team.ru> --- ares_