From 8936a23f510f147b68ffc14e0926d2159d9249d2 Mon Sep 17 00:00:00 2001 From: Egon Eckert Date: Fri, 8 May 2015 08:26:37 +0200 Subject: opts: improved the TCP keepalive examples --- docs/libcurl/opts/CURLOPT_TCP_KEEPINTVL.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/libcurl/opts/CURLOPT_TCP_KEEPINTVL.3') 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); } -- cgit v1.2.3