curl/docs/cmdline-opts/no-keepalive.md
Daniel Stenberg 083da46c60
docs/cmdline-opts: use imperative form
Use 'set', not 'sets' etc. For consistency.

Closes #16879
2025-03-31 08:18:31 +02:00

22 lines
520 B
Markdown

---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: no-keepalive
Help: Disable TCP keepalive on the connection
Category: connection
Added: 7.18.0
Multi: boolean
See-also:
- keepalive-time
- keepalive-cnt
Example:
- --no-keepalive $URL
---
# `--no-keepalive`
Disable 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.