xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 1 | c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al. |
| 2 | SPDX-License-Identifier: curl |
| 3 | Long: no-keepalive |
| 4 | Help: Disable TCP keepalive on the connection |
| 5 | Category: connection |
| 6 | Example: --no-keepalive $URL |
| 7 | Added: 7.18.0 |
| 8 | See-also: keepalive-time |
| 9 | Multi: boolean |
| 10 | --- |
| 11 | Disables the use of keepalive messages on the TCP connection. curl otherwise |
| 12 | enables them by default. |
| 13 | |
| 14 | Note that this is the negated option name documented. You can thus use |
| 15 | --keepalive to enforce keepalive. |