curl-library
Re: PATCH: Handle DNS timeouts on multi-interfaces better
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 2 Dec 2011 21:15:43 +0100 (CET)
Date: Fri, 2 Dec 2011 21:15:43 +0100 (CET)
On Thu, 1 Dec 2011, Jason Glasgow wrote:
> Attached is an updated patch that deals with the fact that if the c-ares
> timeout is less than 1000us it gets rounded to zero, which when Curl_expire
> is called removes *all* timeouts.
Thanks, pushed!
Your change did however trigger a problem (using test 507 and 534) in related
code where we used the socket callback function pointer without checking if it
was set. I pushed a fix for this.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-12-02