Imported Upstream version 7.53.1
[platform/upstream/curl.git] / docs / cmdline-opts / keepalive-time.d
1 Long: keepalive-time
2 Arg: <seconds>
3 Help: Interval time for keepalive probes
4 Added: 7.18.0
5 ---
6 This option sets the time a connection needs to remain idle before sending
7 keepalive probes and the time between individual keepalive probes. It is
8 currently effective on operating systems offering the TCP_KEEPIDLE and
9 TCP_KEEPINTVL socket options (meaning Linux, recent AIX, HP-UX and more). This
10 option has no effect if --no-keepalive is used.
11
12 If this option is used several times, the last one will be used. If
13 unspecified, the option defaults to 60 seconds.