]> git.ipfire.org Git - thirdparty/curl.git/commit
url: Add option CURLOPT_HAPPY_EYEBALLS_TIMEOUT
authorAnders Bakken <agbakken@gmail.com>
Wed, 31 Jan 2018 00:33:51 +0000 (16:33 -0800)
committerJay Satiro <raysatiro@yahoo.com>
Tue, 20 Feb 2018 22:51:43 +0000 (17:51 -0500)
commit2427d94c6d088b13ad971bb3cee5b7de42b37d24
treebbec8183cff0f20d8bd214abdcab5b66f1737669
parent73050fb6ae3c58b6e5d085e8463d94b79dbf2737
url: Add option CURLOPT_HAPPY_EYEBALLS_TIMEOUT

- Add new option CURLOPT_HAPPY_EYEBALLS_TIMEOUT to set libcurl's happy
  eyeball timeout value.

- Add new optval macro CURL_HET_DEFAULT to represent the default happy
  eyeballs timeout value (currently 200 ms).

- Add new tool option --happy-eyeballs-timeout-ms to expose
  CURLOPT_HAPPY_EYEBALLS_TIMEOUT. The -ms suffix is used because the
  other -timeout options in the tool expect seconds not milliseconds.

Closes https://github.com/curl/curl/pull/2260
18 files changed:
docs/cmdline-opts/Makefile.inc
docs/cmdline-opts/happy-eyeballs-timeout-ms.d [new file with mode: 0644]
docs/libcurl/curl_easy_setopt.3
docs/libcurl/opts/CURLOPT_HAPPY_EYEBALLS_TIMEOUT.3 [new file with mode: 0644]
docs/libcurl/opts/Makefile.inc
docs/libcurl/symbols-in-versions
include/curl/curl.h
lib/connect.c
lib/connect.h
lib/setopt.c
lib/url.c
lib/urldata.h
packages/OS400/curl.inc.in
src/tool_cfgable.c
src/tool_cfgable.h
src/tool_getparam.c
src/tool_help.c
src/tool_operate.c