summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/no-keepalive.d
blob: a549333366daeeb76c4a012a61c38df4e476c5f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: no-keepalive
Help: Disable TCP keepalive on the connection
Category: connection
Example: --no-keepalive $URL
Added: 7.18.0
See-also: keepalive-time
---
Disables the use of keepalive messages on the TCP connection. curl otherwise
enables them by default.

Note that this is the negated option name documented. You can thus use
--keepalive to enforce keepalive.