curl/lib/vquic
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
..
curl_ngtcp2.c build: fix -Wformat-signedness by adjusting printf masks 2026-04-16 10:32:50 +02:00
curl_ngtcp2.h cf-dns: connection filter for DNS queries 2026-03-30 13:28:38 +02:00
curl_quiche.c build: fix -Wformat-signedness by adjusting printf masks 2026-04-16 10:32:50 +02:00
curl_quiche.h cf-dns: connection filter for DNS queries 2026-03-30 13:28:38 +02:00
vquic-tls.c lib: introduce Curl_peer 2026-05-05 16:22:11 +02:00
vquic-tls.h badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
vquic.c vquic: fix variable name in fallback code 2026-04-10 12:10:23 +02:00
vquic.h cf-dns: connection filter for DNS queries 2026-03-30 13:28:38 +02:00
vquic_int.h clang-tidy: add more missing parentheses in macro values 2026-02-25 15:43:23 +01:00