summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2018-02-21 15:16:50 -0500
committerJay Satiro <raysatiro@yahoo.com>2018-02-21 15:16:50 -0500
commitdd027c80fe444e9555ad324ddf8e461eb358f4a3 (patch)
tree020e87f6355c39692ea304f49e3c139d5c842b2c /include
parentde97b5fcefb110f3f34338b8292652340ddb1f63 (diff)
downloadcurl-dd027c80fe444e9555ad324ddf8e461eb358f4a3.tar.gz
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
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h4
1 files changed, 2 insertions, 2 deletions
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;