curl/tests/http
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
..
testenv h3-proxy: fixes around H3 proxy 2026-05-28 14:41:27 +02:00
.gitignore tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
CMakeLists.txt HTTP/3: add proxy CONNECT and MASQUE CONNECT-UDP support (ngtcp2 QUIC) 2026-05-27 08:49:53 +02:00
config.ini.in HTTP/3: add proxy CONNECT and MASQUE CONNECT-UDP support (ngtcp2 QUIC) 2026-05-27 08:49:53 +02:00
conftest.py h3-proxy: fixes around H3 proxy 2026-05-28 14:41:27 +02:00
Makefile.am HTTP/3: add proxy CONNECT and MASQUE CONNECT-UDP support (ngtcp2 QUIC) 2026-05-27 08:49:53 +02:00
requirements.txt GHA: bump actions and pips 2026-05-01 21:19:22 +02:00
scorecard.py scorecard: add support for http: testing 2026-05-31 16:58:11 +02:00
test_01_basic.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
test_02_download.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_03_goaway.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
test_04_stuttered.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
test_05_errors.py pytest: re-enable test test_05_01 and test_05_02 for quiche 0.29.0+ 2026-05-27 23:27:04 +02:00
test_06_eyeballs.py dnsd: implement HTTPS-RR with alpn pref and no-default-alpn 2026-04-16 22:53:20 +02:00
test_07_upload.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_08_caddy.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_09_push.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_10_proxy.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_11_unix.py unix-sockets: ignore proxy settings 2026-05-16 18:49:46 +02:00
test_12_reuse.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
test_13_proxy_auth.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
test_14_auth.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_15_tracing.py tests: alphabetize and group Python imports & add check 2026-04-08 10:28:05 -07:00
test_16_info.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_17_ssl_use.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_18_methods.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_19_shutdown.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_20_websockets.py tidy-up: miscellaneous 2026-05-27 16:53:57 +02:00
test_21_resolve.py pythonlint.sh: make it fail on error, fix ruff warnings in pytest 2026-05-13 22:59:36 +02:00
test_22_httpsrr.py pythonlint.sh: make it fail on error, fix ruff warnings in pytest 2026-05-13 22:59:36 +02:00
test_30_vsftpd.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_31_vsftpds.py url: connection reuse fixes for starttls 2026-05-31 23:29:15 +02:00
test_32_ftps_vsftpd.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_40_socks.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_50_scp.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_51_sftp.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
test_60_h3_proxy.py h3-proxy: disable frequently failing pytests 2026-05-29 00:15:47 +02:00