curl-curl/docs
Jay Satiro fe06127ded tool_operate: retry on HTTP response codes 522 and 524
- Treat HTTP response codes 522 and 524 as a transient error since
  Cloudflare may use them instead of 504 to signal timeout.

For example here is a 522 error message from Cloudflare:

"The initial connection between Cloudflare's network and the origin web
server timed out. As a result, the web page can not be displayed."

Prior to this change the curl tool did not retry on HTTP response codes
522 and 524 when --retry was used.

Fixes https://github.com/curl/curl/discussions/16143
Closes https://github.com/curl/curl/pull/19011
2025-10-14 11:06:24 -04:00
..
cmdline-opts tool_operate: retry on HTTP response codes 522 and 524 2025-10-14 11:06:24 -04:00
examples examples: check more errors, fix cleanups, scope variables 2025-10-14 16:33:00 +02:00
internals scorecard: add perf support on linux 2025-10-14 16:24:35 +02:00
libcurl docs: expand on quoting rules for file names in SFTP quote 2025-10-12 15:33:21 +02:00
tests CI.md: refresh 2025-10-10 19:47:08 +02:00
.gitignore
ALTSVC.md
BINDINGS.md tidy-up: URLs 2025-09-23 00:34:46 +02:00
BUG-BOUNTY.md tidy-up: URLs 2025-09-23 00:34:46 +02:00
BUGS.md docs: fix two typos 2025-07-01 22:53:04 +02:00
CIPHERS-TLS12.md
CIPHERS.md tidy-up: update MS links, allow long URLs via checksrc 2025-09-20 11:49:23 +02:00
CMakeLists.txt tests: move test docs into /docs 2025-05-28 15:00:03 +02:00
CODE_OF_CONDUCT.md
CODE_REVIEW.md docs: fix broken link in CODE_REVIEW.md 2025-06-21 10:32:06 +02:00
CONTRIBUTE.md docs/CONTRIBUTE: fix broken link 2025-06-30 13:47:06 +02:00
curl-config.md docs: minor edits to please the new spellchecker regime 2025-02-27 13:15:21 +01:00
CURL-DISABLE.md
CURLDOWN.md misc: fix typos 2025-07-12 08:59:44 +02:00
DEPRECATE.md DEPRECATE.md: remove OpenSSL 1.1.1 support already in December 2025 2025-10-03 08:14:23 +02:00
DISTROS.md DISTROS.md: add Haiku 2025-07-18 00:54:34 +02:00
EARLY-RELEASE.md
ECH.md docs: fix/tidy code fences 2025-09-24 15:16:09 +02:00
EXPERIMENTAL.md
FAQ docs: point two broken links to archive.org 2025-08-25 19:43:03 +02:00
FEATURES.md
GOVERNANCE.md
HELP-US.md
HISTORY.md docs/HISTORY: add some events from the last year 2025-03-06 16:06:17 +01:00
HSTS.md
HTTP3.md HTTP3.md: avoid configure issue for ngtcp2 1.14.0+ compatibility 2025-08-27 16:38:16 +02:00
HTTP-COOKIES.md tidy-up: URLs 2025-09-23 00:34:46 +02:00
HTTPSRR.md tidy-up: URLs 2025-09-23 00:34:46 +02:00
INFRASTRUCTURE.md docs: fix two typos 2025-07-01 22:53:04 +02:00
INSTALL
INSTALL-CMAKE.md kerberos: drop logic for MIT Kerberos <1.2.3 (pre-2002) versions 2025-10-10 02:07:45 +02:00
INSTALL.md ssl: support Apple SecTrust configurations 2025-10-03 12:02:23 +02:00
INTERNALS.md kerberos: bump minimum to 1.3 (2003-07-08), drop legacy logic 2025-10-10 19:47:08 +02:00
IPFS.md
KNOWN_BUGS KNOWN_BUGS: We do not support auth-int for Digest using PUT or POST 2025-10-13 08:55:32 +02:00
MAIL-ETIQUETTE.md
Makefile.am dist: do not distribute CI.md 2025-09-15 11:15:31 +02:00
MANUAL.md docs: use valid example domain names 2025-02-09 00:17:05 +01:00
mk-ca-bundle.md
options-in-versions tool_getparam: add --knownhosts 2025-10-06 13:41:22 +02:00
README.md
RELEASE-PROCEDURE.md RELEASE-PROCEDURE.md: drop the _newslog edit mention 2025-09-08 11:12:47 +02:00
ROADMAP.md
runtests.md runtests: replace --ci with --buidinfo, show OS/Perl version again 2025-08-21 13:11:32 +02:00
RUSTLS.md tidy-up: URLs 2025-09-23 00:34:46 +02:00
SECURITY-ADVISORY.md
SPONSORS.md SPONSORS.md: clarify that we don't promise goods or services 2025-02-05 23:40:24 +01:00
SSL-PROBLEMS.md spelling: 'a' vs 'an' 2025-05-30 11:38:35 +02:00
SSLCERTS.md ssl: support Apple SecTrust configurations 2025-10-03 12:02:23 +02:00
testcurl.md scripts: fix to quote the copyright email address 2025-07-12 08:59:44 +02:00
THANKS lib: remove personal names from comments 2025-10-02 14:22:57 +02:00
THANKS-filter THANKS: names from the 8.16.0 cycle 2025-09-10 07:41:00 +02:00
TheArtOfHttpScripting.md
TODO cf-socket: set FD_CLOEXEC on all sockets opened 2025-10-10 23:44:43 +02:00
URL-SYNTAX.md URL-SYNTAX.md: drop link to codepoints.net to pass linkcheck 2025-08-12 10:26:21 +02:00
VERSIONS.md VERSIONS: update past versions 2025-09-10 07:43:09 +02:00
VULN-DISCLOSURE-POLICY.md VULN-DISCLOSURE-POLICY: make it pass test 1275 2025-09-07 12:39:44 +02:00
wcurl.md wcurl: import v2025.09.27 2025-10-01 09:26:42 +02:00

curl logo

Documentation

You find a mix of various documentation in this directory and subdirectories, using several different formats. Some of them are not ideal for reading directly in your browser.

If you would rather see the rendered version of the documentation, check out the curl website's documentation section for general curl stuff or the libcurl section for libcurl related documentation.