curl/lib/vtls
Stefan Eissing 70779199f3
cf: replace the method get_host with query
Connection filters had a method `get_host()` which had not really been
documented. Since then, the cf had the `query()` method added. Replace
the separate get_host with query.

Add `CF_QUERY_HOST_PORT` as query to connection filters to retrieve
which remote hostname and port the filter (or its sub-filter) is talking
to. The query is implemented by HTTP and SOCKS filters, all others pass
it through.

Add `Curl_conn_get_current_host()` to retrieve the remote host and port
for a connection. During connect, this will return the host the
connection is talking to right now. Before/After connect, this will
return `conn->host.name`.

This is used by SASL authentication.

Closes #17419
2025-06-21 17:20:44 +02:00
..
.checksrc strparse: switch to curl_off_t as base data type 2025-02-15 21:58:48 +01:00
cipher_suite.c TLS: remove support for Secure Transport and BearSSL 2025-06-11 07:54:19 +02:00
cipher_suite.h TLS: remove support for Secure Transport and BearSSL 2025-06-11 07:54:19 +02:00
gtls.c vtls: change send/recv signatures of tls backends 2025-06-21 10:34:02 +02:00
gtls.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
hostcheck.c lib: include files using known path 2025-04-08 17:00:00 +02:00
hostcheck.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
keylog.c spelling: 'a' vs 'an' 2025-05-30 11:38:35 +02:00
keylog.h spelling: 'a' vs 'an' 2025-05-30 11:38:35 +02:00
mbedtls.c vtls: change send/recv signatures of tls backends 2025-06-21 10:34:02 +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 vtls: change send/recv signatures of tls backends 2025-06-21 10:34:02 +02:00
openssl.h lib: include files using known path 2025-04-08 17:00:00 +02:00
rustls.c vtls: change send/recv signatures of tls backends 2025-06-21 10:34:02 +02:00
rustls.h lib: include files using known path 2025-04-08 17:00:00 +02:00
schannel.c vtls: change send/recv signatures of tls backends 2025-06-21 10:34:02 +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 cf: replace the method get_host with query 2025-06-21 17:20:44 +02:00
vtls.h tls: remove Curl_ssl false_start 2025-06-12 08:29:15 +02:00
vtls_int.h vtls: change send/recv signatures of tls backends 2025-06-21 10:34:02 +02:00
vtls_scache.c spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
vtls_scache.h spelling: 'a' vs 'an' 2025-05-30 11:38:35 +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 vtls: change send/recv signatures of tls backends 2025-06-21 10:34:02 +02:00
wolfssl.h pytest: add pinnedpubkey test cases 2025-05-21 22:45:42 +02:00
x509asn1.c TLS: remove support for Secure Transport and BearSSL 2025-06-11 07:54:19 +02:00
x509asn1.h TLS: remove support for Secure Transport and BearSSL 2025-06-11 07:54:19 +02:00