xref: /curl/docs/cmdline-opts/no-keepalive.md (revision b77d627d)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, 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