c-ares 1.12.0 can resolve only FQDNs under Microsoft Windows

2017-01-13 Thread eugeny gladkih
Hi, the reason is simple, it don't extract domains/search list anymore. Small patch using GetAdaptersAddresses&GetNetworkParams is attached, but it dosn't contain code reading lists from Windows registry, but only comments where and when to do that. -- Yours sincerely, Eugeny. GM of Enterpri

Re: reached select() limit

2017-01-31 Thread eugeny gladkih
On 01/25/2017 02:18 AM, David Guillen Fandos wrote: Hello, I wrote an app that was crashing in c-ares due to fds being bigger than 1024. While c-ares might be using around 30 fds it is unable to use fds above 1024. no, that's not a truth. you may use any socket number on all modern UNIX syst

Re: reached select() limit

2017-02-01 Thread eugeny gladkih
On 01/31/2017 07:28 PM, Zan Lynx wrote: On 01/31/2017 06:41 AM, eugeny gladkih wrote: no, that's not a truth. you may use any socket number on all modern UNIX systems. the only thing you need - you have to allocate enough memory for fd_set. one more thing you have to know is still her

Re: reached select() limit

2017-02-03 Thread eugeny gladkih
On 02/01/2017 07:57 PM, Zan Lynx wrote: On 02/01/2017 05:32 AM, eugeny gladkih wrote: I would certainly not assume that I can just redefine FD_SETSIZE without double-checking. that was a piece of production code. it works well. Well yes I am sure it does. In Solaris. I looked at glibc

Re: reached select() limit

2017-02-03 Thread eugeny gladkih
On 02/03/2017 05:43 PM, eugeny gladkih wrote: I would certainly not assume that I can just redefine FD_SETSIZE without double-checking. that was a piece of production code. it works well. Well yes I am sure it does. In Solaris. I looked at glibc select() code just now and it doesn't

Re: Harden and rationalize c-ares timeout computation

2018-04-24 Thread Eugeny Gladkih
On 23.04.2018 22:00, Brad Spencer wrote: I've posted a pull request to GitHub that fixes possible undefined behaviour in the computation of request timeouts and changes how timeouts are calculated. https://github.com/c-ares/c-ares/pull/187 What do people think? that's great, but we need an

Re: Pending patch release

2020-11-18 Thread eugeny gladkih
Hi, > On 18 Nov 2020, at 10:52, Daniel Stenberg wrote: > > Hi, > > As some of you noticed, the 1.17.0 release was slightly borked and there will > soon be a patch release made. Thanks for your understanding and cooperation! > there are more problems: CCLD libcares.la Making all in too