curl/lib/vssh
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
..
libssh.c lib: introduce Curl_peer 2026-05-05 16:22:11 +02:00
libssh2.c lib: introduce Curl_peer 2026-05-05 16:22:11 +02:00
ssh.h protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
vssh.c protocol source, all about protocols and uri schemes 2026-03-16 08:39:02 +01:00
vssh.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00