curl/docs/cmdline-opts/no-keepalive.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
503 B
Markdown
Raw Normal View History

---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
2016-11-16 21:20:36 +08:00
Long: no-keepalive
Help: Disable TCP keepalive on the connection
Category: connection
Added: 7.18.0
Multi: boolean
See-also:
- keepalive-time
Example:
- --no-keepalive $URL
2016-11-16 21:20:36 +08:00
---
# `--no-keepalive`
Disables the use of keepalive messages on the TCP connection. curl otherwise
2016-11-16 21:20:36 +08:00
enables them by default.
Note that this is the negated option name documented. You can thus use
--keepalive to enforce keepalive.