xref: /aosp_15_r20/external/curl/docs/cmdline-opts/no-keepalive.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1---
2c: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3SPDX-License-Identifier: curl
4Long: no-keepalive
5Help: Disable TCP keepalive on the connection
6Category: connection
7Added: 7.18.0
8Multi: boolean
9See-also:
10  - keepalive-time
11  - keepalive-cnt
12Example:
13  - --no-keepalive $URL
14---
15
16# `--no-keepalive`
17
18Disables the use of keepalive messages on the TCP connection. curl otherwise
19enables them by default.
20
21Note that this is the negated option name documented. You can thus use
22--keepalive to enforce keepalive.
23