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 --- include/curl/curl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/curl/curl.h b/include/curl/curl.h index a592a0e4d..93954bca5 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -792,7 +792,7 @@ typedef enum { #define CURLSSLOPT_NO_REVOKE (1<<1) /* The default connection attempt delay in milliseconds for happy eyeballs. - CURLOPT_HAPPY_EYEBALLS_TIMEOUT.3 and happy-eyeballs-timeout-ms.d document + CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS.3 and happy-eyeballs-timeout-ms.d document this value, keep them in sync. */ #define CURL_HET_DEFAULT 200L @@ -1831,7 +1831,7 @@ typedef enum { CINIT(TIMEVALUE_LARGE, OFF_T, 270), /* Head start in milliseconds to give happy eyeballs. */ - CINIT(HAPPY_EYEBALLS_TIMEOUT, LONG, 271), + CINIT(HAPPY_EYEBALLS_TIMEOUT_MS, LONG, 271), CURLOPT_LASTENTRY /* the last unused */ } CURLoption; -- cgit v1.2.3