cURL / Mailing Lists / curl-library / Single Mail


Re: PATCH: Handle DNS timeouts on multi-interfaces better

From: Daniel Stenberg <>
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.

List admin:
Received on 2011-12-02