curl/lib/vtls
Stefan Eissing e9ae1bd404
connection: clarify transport
The `transport` to use for a transfer, e.g. TCP/QUIC/UNIX/UDP, is
initially selected by options and protocol used. This is set at the
`struct connectdata` as `transport` member.

During connection establishment, this transport may change due to
Alt-Svc or Happy-Eyeballing. Most common is the switch from TCP to QUIC.

Rename the connection member to `transport_wanted` and add a way to
query the connection for the transport in use via a new connection
filter query.

The filter query can also be used in the happy eyeballing attempts when
code needs to know which transport is used by the "filter below". This
happens in wolfssl initialization, as one example.

Closes #17923
2025-07-14 14:33:18 +02:00
..
.checksrc checksrc: reduce exceptions, apply again to curlx 2025-06-27 17:33:35 +02:00
cipher_suite.c lib: drop two interim macros in favor of native libcurl API calls 2025-06-30 18:38:56 +02:00
cipher_suite.h TLS: remove support for Secure Transport and BearSSL 2025-06-11 07:54:19 +02:00
gtls.c http/3: report handshake with version and cipher as for TCP connections 2025-07-14 14:08:32 +02:00
gtls.h http/3: report handshake with version and cipher as for TCP connections 2025-07-14 14:08:32 +02:00
hostcheck.c lib: drop two interim macros in favor of native libcurl API calls 2025-06-30 18:38:56 +02:00
hostcheck.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
keylog.c urlapi: use uppercase hex encoding 2025-06-25 11:44:13 +02:00
keylog.h spelling: 'a' vs 'an' 2025-05-30 11:38:35 +02:00
mbedtls.c lib: drop two interim macros in favor of native libcurl API calls 2025-06-30 18:38:56 +02:00
mbedtls.h lib: include files using known path 2025-04-08 17:00:00 +02:00
mbedtls_threadlock.c lib: include files using known path 2025-04-08 17:00:00 +02:00
mbedtls_threadlock.h lib: include files using known path 2025-04-08 17:00:00 +02:00
openssl.c http/3: report handshake with version and cipher as for TCP connections 2025-07-14 14:08:32 +02:00
openssl.h http/3: report handshake with version and cipher as for TCP connections 2025-07-14 14:08:32 +02:00
rustls.c lib/vtls: log rustls negotiated KEX group name 2025-07-12 19:26:41 +02:00
rustls.h lib: include files using known path 2025-04-08 17:00:00 +02:00
schannel.c windows: drop redundant curl_wcsdup_callback callback 2025-07-08 13:33:38 +02:00
schannel.h lib: include files using known path 2025-04-08 17:00:00 +02:00
schannel_int.h lib: use BIT() instead of bool in structs more 2025-04-22 08:01:08 +02:00
schannel_verify.c tidy-up: two comments 2025-06-15 13:32:24 +02:00
vtls.c tidy-up: whitespace 2025-07-11 13:32:54 +02:00
vtls.h tidy-up: whitespace 2025-07-11 13:32:54 +02:00
vtls_int.h vtls: change send/recv signatures of tls backends 2025-06-21 10:34:02 +02:00
vtls_scache.c tidy-up: whitespace 2025-07-11 13:32:54 +02:00
vtls_scache.h lib: replace scache no-op macros with #ifdef 2025-06-27 17:33:34 +02:00
vtls_spack.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
vtls_spack.h lib: include files using known path 2025-04-08 17:00:00 +02:00
wolfssl.c connection: clarify transport 2025-07-14 14:33:18 +02:00
wolfssl.h http/3: report handshake with version and cipher as for TCP connections 2025-07-14 14:08:32 +02:00
x509asn1.c misc: fix typos 2025-07-12 08:59:44 +02:00
x509asn1.h TLS: remove support for Secure Transport and BearSSL 2025-06-11 07:54:19 +02:00