curl/lib/vauth
Stefan Eissing bc40e09f63
lib: introduce Curl_peer
`struct Curl_peer` keeps information about a communication endpoint
together. It will replace `conn->host` and `conn->conn_to_host` and
proxyinfo host. It will also become part of `struct ssl_peer`.

It has a reference counter, so an instance can be shared between
connections and filters.

Elminiates `conn->host` and `conn->connect_to_host`, used in the
proxyinfo structures. Passed to DNS resolution and socks filters, etc.

Pass peer to http proxy and socks tunnel filters. Use peer in dns filter
and resolving. Make `Curl_peer` a member in the `struct ssl_peer`.

Add `docs/internals/PEERS.md` for documentation.

Closes #21472
2026-05-05 16:22:11 +02:00
..
cleartext.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
cram.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
digest.c lib: introduce Curl_peer 2026-05-05 16:22:11 +02:00
digest.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
digest_sspi.c lib: introduce Curl_peer 2026-05-05 16:22:11 +02:00
gsasl.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
krb5_gssapi.c gcc: guard #pragma diagnostic in core code for <4.6, disable picky warnings 2026-03-18 11:33:37 +01:00
krb5_sspi.c tidy-up: rename Curl_safefree()/tool_safefree() to curlx_safefree() 2026-04-01 19:53:53 +02:00
ntlm.c clang-tidy: enable more checks, fix fallouts 2026-04-14 02:20:16 +02:00
ntlm_sspi.c clang-tidy: enable more checks, fix fallouts 2026-04-14 02:20:16 +02:00
oauth2.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
spnego_gssapi.c tidy-up: rename Curl_safefree()/tool_safefree() to curlx_safefree() 2026-04-01 19:53:53 +02:00
spnego_sspi.c tidy-up: rename Curl_safefree()/tool_safefree() to curlx_safefree() 2026-04-01 19:53:53 +02:00
vauth.c lib: introduce Curl_peer 2026-05-05 16:22:11 +02:00
vauth.h setopt: clear proxy auth properties when switching 2026-04-27 10:27:01 +02:00