mirror of
https://github.com/curl/curl.git
synced 2026-08-24 22:13:33 +03:00
curl: use new library-side TCP_KEEPALIVE options
Use the new library CURLOPT_TCP_KEEPALIVE rather than disabling this via the sockopt callback. If --keepalive-time is used, apply the value to CURLOPT_TCP_KEEPIDLE and CURLOPT_TCP_KEEPINTVL.
This commit is contained in:
parent
705f0f7a5b
commit
2a266c1c7c
5 changed files with 17 additions and 138 deletions
|
|
@ -711,7 +711,8 @@ 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 \fI--no-keepalive\fP is used. (Added in 7.18.0)
|
||||
|
||||
If this option is used multiple times, the last occurrence sets the amount.
|
||||
If this option is used multiple times, the last occurrence sets the amount. If
|
||||
unspecified, the option defaults to 60 seconds.
|
||||
.IP "--key <key>"
|
||||
(SSL/SSH) Private key file name. Allows you to provide your private key in this
|
||||
separate file.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue