From dd027c80fe444e9555ad324ddf8e461eb358f4a3 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Wed, 21 Feb 2018 15:16:50 -0500 Subject: lib: CURLOPT_HAPPY_EYEBALLS_TIMEOUT => CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS - In keeping with the naming of our other connect timeout options rename CURLOPT_HAPPY_EYEBALLS_TIMEOUT to CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS. This change adds the _MS suffix since the option expects milliseconds. This is more intuitive for our users since other connect timeout options that expect milliseconds use _MS such as CURLOPT_TIMEOUT_MS, CURLOPT_CONNECTTIMEOUT_MS, CURLOPT_ACCEPTTIMEOUT_MS. The tool option already uses an -ms suffix, --happy-eyeballs-timeout-ms. Follow-up to 2427d94 which added the lib and tool option yesterday. Ref: https://github.com/curl/curl/pull/2260 --- src/tool_operate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/tool_operate.c b/src/tool_operate.c index c8e9c6901..e8b434a53 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -1442,7 +1442,7 @@ static CURLcode operate_do(struct GlobalConfig *global, /* new in 7.59.0 */ if(config->happy_eyeballs_timeout_ms != CURL_HET_DEFAULT) - my_setopt(curl, CURLOPT_HAPPY_EYEBALLS_TIMEOUT, + my_setopt(curl, CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS, config->happy_eyeballs_timeout_ms); /* initialize retry vars for loop below */ -- cgit v1.2.3