Mailing Lists
|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[curl:bugs] #1271 connect time is half of my setting
From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Fri, 30 Aug 2013 21:10:58 +0000
Please send your suggestion to the curl-library list! Closing this ticket.
--- ** [bugs:#1271] connect time is half of my setting** **Status:** closed-invalid **Created:** Thu Aug 29, 2013 09:10 AM UTC by he qin **Last Updated:** Thu Aug 29, 2013 02:52 PM UTC **Owner:** Daniel Stenberg hi, in curl-7.31.0, the timeout of connecting addr is the half time of my setting with CURLOPT_TIMEOUT_MS or CURLOPT_DNS_CACHE_TIMEOUT when the addr has more than one ip. in code, here is: lib/connect.c Line 816: conn->timeoutms_per_addr = conn->ip_addr->ai_next == NULL ? allow : allow / 2; Line 1121: conn->timeoutms_per_addr = curr_addr->ai_next == NULL ? timeout_ms : timeout_ms / 2; so, it works don't like I expected. Maybe there are some reasons that I don't know. I want to connect use the total time as the timeout. I think curl can supply an interface that set by curl_easy_setopt. how do you think? --- Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.Received on 2013-08-30 These mail archives are generated by hypermail. |
Page updated May 06, 2013.
web site info