curl/docs
Stefan Eissing 4ff212f8ed
url: connection reuse fixes for starttls
Add test_31_13 to check connection reuse on mixed --ssl-reqd setting.
For that add debug env var CURL_DBG_NO_USE_SSL_ON_FIRST to disable
--ssl-reqd for the first url. Check that the connection without SSL
from the first url is not reused on the second URL that requires it.

Tweak special ftp: protocol check to fail a DEBUGASSERT on mismatched
`use_ssl` settings as that should have been caught before in the
connection reuse matching (imap/smtp etc. do not have this extra check
and rely on the general part doing its job).

Closes #21665
2026-05-31 23:29:15 +02:00
..
cmdline-opts HTTP/3: add proxy CONNECT and MASQUE CONNECT-UDP support (ngtcp2 QUIC) 2026-05-27 08:49:53 +02:00
examples
internals
libcurl url: connection reuse fixes for starttls 2026-05-31 23:29:15 +02:00
tests
.gitignore
ALTSVC.md
BINDINGS.md
BUG-BOUNTY.md
BUGS.md
CIPHERS-TLS12.md
CIPHERS.md
CMakeLists.txt
CODE_OF_CONDUCT.md
CODE_REVIEW.md
CONTRIBUTE.md
curl-config.md
CURL-DISABLE.md
CURLDOWN.md
DEPRECATE.md
DISTROS.md
EARLY-RELEASE.md
ECH.md
EXPERIMENTAL.md
FAQ.md
FEATURES.md
GOVERNANCE.md
HELP-US.md
HISTORY.md
HSTS.md
HTTP-COOKIES.md
HTTP3.md
HTTPSRR.md
INFRASTRUCTURE.md
INSTALL
INSTALL-CMAKE.md
INSTALL.md
INTERNALS.md
IPFS.md
KNOWN_BUGS.md
KNOWN_RISKS.md
MAIL-ETIQUETTE.md
Makefile.am
MANUAL.md
mk-ca-bundle.md
options-in-versions
README.md
RELEASE-PROCEDURE.md
ROADMAP.md
runtests.md
RUSTLS.md
SECURITY-ADVISORY.md
SPONSORS.md
SSL-PROBLEMS.md
SSLCERTS.md
testcurl.md
THANKS
THANKS-filter
TheArtOfHttpScripting.md
TODO.md
URL-SYNTAX.md
VERIFY.md
VERSIONS.md
VULN-DISCLOSURE-POLICY.md
wcurl.md

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.