]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
keepalive-time.d: It takes many probes to detect brokenness
authorDan Fandrich <dan@coneharvesters.com>
Thu, 10 Mar 2022 06:11:13 +0000 (22:11 -0800)
committerDan Fandrich <dan@telarity.com>
Sat, 12 Mar 2022 01:13:25 +0000 (17:13 -0800)
docs/cmdline-opts/keepalive-time.d

index cdc150aa796a7e8160e866f78684bdf63baf87a7..4bd675033cdb45efb9f14532899b3d34dda823ce 100644 (file)
@@ -9,8 +9,11 @@ See-also: no-keepalive max-time
 This option sets the time a connection needs to remain idle before sending
 keepalive probes and the time between individual keepalive probes. It is
 currently effective on operating systems offering the TCP_KEEPIDLE and
-TCP_KEEPINTVL socket options (meaning Linux, recent AIX, HP-UX and more). This
-option has no effect if --no-keepalive is used.
+TCP_KEEPINTVL socket options (meaning Linux, recent AIX, HP-UX and more).
+Keepalives are used by the TCP stack to detect broken networks on idle
+connections. The number of missed keepalive probes before declaring the
+connection down is OS dependent and is commonly 9 or 10. This option has no
+effect if --no-keepalive is used.
 
 If this option is used several times, the last one will be used. If
 unspecified, the option defaults to 60 seconds.