curl/docs
Viktor Szakats e5bb88b8f8
tool: use our own stderr variable
Earlier this year we changed our own stderr variable to use the standard
name `stderr` (to avoid bugs where someone is using `stderr` instead of
the curl-tool specific variable). This solution needed to override the
standard `stderr` symbol via the preprocessor. This in turn didn't play
well with unity builds and caused curl tool to crash or stay silent due
to an uninitialized stderr. This was a hard to find issue, fixed by
manually breaking out one file from the unity sources.

To avoid two these two tricks, this patch implements a different
solution: Restore using our own local variable for our stderr output and
leave `stderr` as-is. To avoid using `stderr` by mistake, add a
`checksrc` rule (based on logic we already used in lib for `strerror`)
that detects any `stderr` use in `src` and points to using our own
variable instead: `tool_stderr`.

Follow-up to 06133d3e9b
Follow-up to 2f17a9b654

Closes #11958
2023-09-28 10:50:56 +00:00
..
cmdline-opts docs: explain how PINNEDPUBLICKEY is independent of VERIFYPEER 2023-09-26 03:44:35 -04:00
examples docs: use CURLSSLBACKEND_NONE 2023-09-21 14:15:03 +02:00
libcurl docs: adapt SEE ALSO sections to new requirements 2023-09-27 10:40:32 +02:00
.gitignore
ALTSVC.md
BINDINGS.md
BUFQ.md
BUFREF.md
BUG-BOUNTY.md
BUGS.md
CHECKSRC.md tool: use our own stderr variable 2023-09-28 10:50:56 +00:00
CIPHERS.md
CMakeLists.txt
CODE_OF_CONDUCT.md
CODE_REVIEW.md
CODE_STYLE.md
CONNECTION-FILTERS.md
CONTRIBUTE.md
curl-config.1
CURL-DISABLE.md lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
DEPRECATE.md mingw: delete support for legacy mingw.org toolchain 2023-09-23 09:12:57 +00:00
DYNBUF.md
EARLY-RELEASE.md
EXPERIMENTAL.md
FAQ
FEATURES.md
GOVERNANCE.md
HELP-US.md
HISTORY.md
HSTS.md
HTTP2.md
HTTP3.md HTTP3: the msquic backend is not functional 2023-09-11 09:50:42 +02:00
HTTP-COOKIES.md
HYPER.md
INSTALL
INSTALL.cmake
INSTALL.md mingw: delete support for legacy mingw.org toolchain 2023-09-23 09:12:57 +00:00
INTERNALS.md
IPFS.md curl: add support for the IPFS protocols: 2023-09-23 11:02:10 +02:00
KNOWN_BUGS
MAIL-ETIQUETTE
Makefile.am SECURITY-PROCESS.md. call it vulnerability disclosure policy 2023-09-14 17:04:33 +02:00
MANUAL.md MANUAL.md: change domain to example.com 2023-09-16 23:36:45 +02:00
mk-ca-bundle.1
MQTT.md
NEW-PROTOCOL.md
options-in-versions curl: add support for the IPFS protocols: 2023-09-23 11:02:10 +02:00
PARALLEL-TRANSFERS.md
README.md
RELEASE-PROCEDURE.md
ROADMAP.md
RUSTLS.md
SECURITY-ADVISORY.md
SSL-PROBLEMS.md
SSLCERTS.md
THANKS THANKS: add Eric Murphy 2023-09-18 14:38:43 -04:00
THANKS-filter THANKS: contributors from 8.3.0 2023-09-13 08:19:24 +02:00
TheArtOfHttpScripting.md
TODO
URL-SYNTAX.md
VERSIONS.md
VULN-DISCLOSURE-POLICY.md SECURITY-PROCESS.md. call it vulnerability disclosure policy 2023-09-14 17:04:33 +02:00
WEBSOCKET.md

curl logo

Documentation

you will 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.