diff options
author | Egon Eckert <egon.eckert@heaven-industries.com> | 2015-05-08 08:26:37 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-05-08 08:27:19 +0200 |
commit | 8936a23f510f147b68ffc14e0926d2159d9249d2 (patch) | |
tree | 3b78912c1dd4784b72e4e358208d7e479b3a1ba9 /docs/libcurl/opts | |
parent | f010f3e3ca997d1cd28f54cd4379799bb3faf51f (diff) |
opts: improved the TCP keepalive examples
Diffstat (limited to 'docs/libcurl/opts')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_TCP_KEEPALIVE.3 | 2 | ||||
-rw-r--r-- | docs/libcurl/opts/CURLOPT_TCP_KEEPIDLE.3 | 2 | ||||
-rw-r--r-- | docs/libcurl/opts/CURLOPT_TCP_KEEPINTVL.3 | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/libcurl/opts/CURLOPT_TCP_KEEPALIVE.3 b/docs/libcurl/opts/CURLOPT_TCP_KEEPALIVE.3 index 5ddadd093..941cc4882 100644 --- a/docs/libcurl/opts/CURLOPT_TCP_KEEPALIVE.3 +++ b/docs/libcurl/opts/CURLOPT_TCP_KEEPALIVE.3 @@ -50,7 +50,7 @@ if(curl) { curl_easy_setopt(curl, CURLOPT_TCP_KEEPIDLE, 120L); /* interval time between keep-alive probes: 60 seconds */ - curl_easy_setopt(curl, CURLOPT_TCP_KEEPIDLE, 60L); + curl_easy_setopt(curl, CURLOPT_TCP_KEEPINTVL, 60L); curl_easy_perform(curl); } diff --git a/docs/libcurl/opts/CURLOPT_TCP_KEEPIDLE.3 b/docs/libcurl/opts/CURLOPT_TCP_KEEPIDLE.3 index 843f65057..d60a3dffb 100644 --- a/docs/libcurl/opts/CURLOPT_TCP_KEEPIDLE.3 +++ b/docs/libcurl/opts/CURLOPT_TCP_KEEPIDLE.3 @@ -48,7 +48,7 @@ if(curl) { curl_easy_setopt(curl, CURLOPT_TCP_KEEPIDLE, 120L); /* interval time between keep-alive probes: 60 seconds */ - curl_easy_setopt(curl, CURLOPT_TCP_KEEPIDLE, 60L); + curl_easy_setopt(curl, CURLOPT_TCP_KEEPINTVL, 60L); curl_easy_perform(curl); } diff --git a/docs/libcurl/opts/CURLOPT_TCP_KEEPINTVL.3 b/docs/libcurl/opts/CURLOPT_TCP_KEEPINTVL.3 index ee4d53543..42bc0b4ed 100644 --- a/docs/libcurl/opts/CURLOPT_TCP_KEEPINTVL.3 +++ b/docs/libcurl/opts/CURLOPT_TCP_KEEPINTVL.3 @@ -46,7 +46,7 @@ if(curl) { curl_easy_setopt(curl, CURLOPT_TCP_KEEPIDLE, 120L); /* interval time between keep-alive probes: 60 seconds */ - curl_easy_setopt(curl, CURLOPT_TCP_KEEPIDLE, 60L); + curl_easy_setopt(curl, CURLOPT_TCP_KEEPINTVL, 60L); curl_easy_perform(curl); } |