gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 26/173: docs/libcurl: TCP_KEEPALIVE start and inter


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 26/173: docs/libcurl: TCP_KEEPALIVE start and interval default to 60
Date: Fri, 24 Feb 2017 14:00:48 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.53.1
in repository gnurl.

commit 4f2239c5cad235df5dec767b55767b47d0c7e561
Author: Jay Satiro <address@hidden>
AuthorDate: Mon Jan 2 13:39:29 2017 -0500

    docs/libcurl: TCP_KEEPALIVE start and interval default to 60
    
    Since the TCP keep-alive options were added in 705f0f7 the start and
    interval default values have been 60, but that wasn't documented.
    
    Bug: https://curl.haxx.se/mail/lib-2017-01/0000.html
    Reported-by: Praveen Pvs
---
 docs/libcurl/opts/CURLOPT_TCP_KEEPIDLE.3  | 2 +-
 docs/libcurl/opts/CURLOPT_TCP_KEEPINTVL.3 | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/docs/libcurl/opts/CURLOPT_TCP_KEEPIDLE.3 
b/docs/libcurl/opts/CURLOPT_TCP_KEEPIDLE.3
index f5f57628f..4d587a9b4 100644
--- a/docs/libcurl/opts/CURLOPT_TCP_KEEPIDLE.3
+++ b/docs/libcurl/opts/CURLOPT_TCP_KEEPIDLE.3
@@ -32,7 +32,7 @@ Pass a long. Sets the \fIdelay\fP, in seconds, that the 
operating system will
 wait while the connection is idle before sending keepalive probes. Not all
 operating systems support this option.
 .SH DEFAULT
-?
+60
 .SH PROTOCOLS
 All
 .SH EXAMPLE
diff --git a/docs/libcurl/opts/CURLOPT_TCP_KEEPINTVL.3 
b/docs/libcurl/opts/CURLOPT_TCP_KEEPINTVL.3
index f332a8f45..a755c0546 100644
--- a/docs/libcurl/opts/CURLOPT_TCP_KEEPINTVL.3
+++ b/docs/libcurl/opts/CURLOPT_TCP_KEEPINTVL.3
@@ -32,7 +32,9 @@ Pass a long. Sets the interval, in seconds, that the 
operating system will
 wait between sending keepalive probes. Not all operating systems support this
 option. (Added in 7.25.0)
 .SH DEFAULT
+60
 .SH PROTOCOLS
+All
 .SH EXAMPLE
 .nf
 CURL *curl = curl_easy_init();
@@ -42,7 +44,7 @@ if(curl) {
   /* enable TCP keep-alive for this transfer */
   curl_easy_setopt(curl, CURLOPT_TCP_KEEPALIVE, 1L);
 
-  /* keep-alive idle time to 120 seconds */
+  /* set keep-alive idle time to 120 seconds */
   curl_easy_setopt(curl, CURLOPT_TCP_KEEPIDLE, 120L);
 
   /* interval time between keep-alive probes: 60 seconds */

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]