curl/docs
Stefan Eissing c4f29cc508
ip_quadruple/proxy: make port uint16_t
Make `port` member in these struct of type `uint16_t`.

add `uint8_t transport` to `struct ip_quadruple

Define TRNSPRT_NONE as 0. By assigning a valid transport only on a
successful connection, it is clear when the ip_quadruple members are
valid. Also, for transports not involving ports, the getinfos for
`CURLINFO_PRIMARY_PORT` and `CURLINFO_LOCAL_PORT` will now always return
-1.

Make all `transport` members and parameters of type `uint8_t`.

Document the return value of `CURLINFO_LOCAL_PORT` and
`CURLINFO_PRIMARY_PORT` in this regard. Add tests that writeout stats
report ports correctly.

Closes #19708
2025-11-27 14:32:01 +01:00
..
cmdline-opts docs: spell it Rustls with a capital R 2025-11-26 09:41:09 +01:00
examples examples/multi-uv: simplify passing uv struct 2025-11-26 13:19:36 +01:00
internals lib: change uint sets to operate on uint32_t 2025-11-25 17:22:13 +01:00
libcurl ip_quadruple/proxy: make port uint16_t 2025-11-27 14:32:01 +01:00
tests tests/data: mark non-XML-compliant files as such, xmllint the rest in CI 2025-11-19 00:02:45 +01:00
.gitignore
ALTSVC.md
BINDINGS.md tidy-up: miscellaneous 2025-11-17 13:32:43 +01: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 badwords: re-sync with curl-www, fix issues found 2025-11-12 00:53:44 +01:00
curl-config.md
CURL-DISABLE.md build: add build-level CURL_DISABLE_TYPECHECK options 2025-11-21 13:48:35 +01:00
CURLDOWN.md misc: fix typos 2025-07-12 08:59:44 +02:00
DEPRECATE.md DEPRECATE.md: move OpenSSL to past removals (fixup) 2025-11-15 22:33:13 +01:00
DISTROS.md DISTROS.md: add OpenBSD 2025-11-19 00:02:45 +01:00
EARLY-RELEASE.md
ECH.md ECH.md: make OpenSSL branch clone instructions work 2025-10-26 01:19:12 +02:00
EXPERIMENTAL.md
FAQ badwords: re-sync with curl-www, fix issues found 2025-11-12 00:53:44 +01:00
FEATURES.md
GOVERNANCE.md
HELP-US.md
HISTORY.md HISTORY: extend 2025-11-04 16:25:28 +01:00
HSTS.md
HTTP-COOKIES.md tidy-up: URLs 2025-09-23 00:34:46 +02:00
HTTP3.md tidy-up: miscellaneous 2025-11-17 13:32:43 +01: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 cmake: add support for libbacktrace, fix two build issues 2025-11-24 14:29:29 +01:00
INSTALL.md docs: spell it Rustls with a capital R 2025-11-26 09:41:09 +01:00
INTERNALS.md INTERNALS.md: add more dependency versions and dates 2025-11-25 11:11:06 +01:00
IPFS.md badwords: re-sync with curl-www, fix issues found 2025-11-12 00:53:44 +01:00
KNOWN_BUGS KNOWN_BUGS: SOCKS-SSPI discards the security context 2025-10-17 17:45:06 +02:00
KNOWN_RISKS.md KNOWN_RISKS: known risks when running and using curl and libcurl 2025-11-22 13:09:46 +01:00
MAIL-ETIQUETTE.md
Makefile.am ratelimit: redesign 2025-11-24 23:34:05 +01:00
MANUAL.md
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: add -m=seconds to override test curl command timeout 2025-11-19 22:04:52 +01:00
RUSTLS.md tidy-up: URLs 2025-09-23 00:34:46 +02:00
SECURITY-ADVISORY.md
SPONSORS.md
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 tidy-up: miscellaneous 2025-11-17 13:32:43 +01:00
THANKS-filter RELEASE-NOTES: synced 2025-11-05 14:12:23 +01:00
TheArtOfHttpScripting.md
TODO TODO: improve code for large MQTT payloads 2025-11-09 11:53:39 +01: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: 8.18.0 is now pending 2025-11-05 08:00:05 +01: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.11.04 2025-11-04 14:15:46 +01: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.