> Looks like the timeout is not honored in asynchronous name resolution in > curl. I looked at the code (version 7.20.0) You know that is quite an old release?
> , and the expected behavior is > to call Curl_is_resolved repeatedly till timed out or we get a valid > response back, whichever happens first. Curl_is_resolved sets the timeout > for select/poll as 0, which means that these would time out immediately. So, > if the dns name does not get resolved in the first attempt, the function > just returns an error. There is no "polling" happening here. I guess you are talking about the threaded resolver. See http://curl.haxx.se/changes.html#7_21_1 : "Fixed in 7.21.1 - August 11 2010 ... threaded resolver: fix timeout issue" Maybe that was the bug you've (re)discovered. ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
