proxmox/proxmox-http/src
Christian Ebner ca351ecf7e http: client: make https connector generic over resolver
Allow to instantiate a `HttpsConnector` not using the default
`getaddrinfo` based `GaiResolver` for domain name resolution, but
rather a custom resolver implementing the required traits.

The usecase for this is to swap out the DNS resolver for the
statically linked proxmox-backup-client binary, where the glibc
dependency is problematic because of possible ABI incompatibility.

However, set the generic type on `HttpsConnector` to default to
`GaiResolver` to limit inconvenience for implementations using it.

Adds tower-service as cargo workspace dependency and build dependency
to debian/control.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2025-04-09 13:33:44 +02:00
..
client http: client: make https connector generic over resolver 2025-04-09 13:33:44 +02:00
websocket http: replace deprecated io_err_other 2024-07-30 16:11:44 +02:00
client_trait.rs http: client_trait: make request body generic 2022-09-07 09:25:47 +02:00
http_options.rs http: move SimpleHttpOptions to http-helpers feature 2022-09-07 09:17:45 +02:00
lib.rs tree-wide: enable doc_cfg and doc_auto_cfg for docs 2024-07-02 11:59:53 +02:00
proxy_config.rs http: rename SimpleHttp to Client 2022-09-07 09:17:45 +02:00
rate_limited_stream.rs http: rate limited stream: fix typo in rustdoc comment 2023-11-08 09:56:26 +01:00
rate_limiter.rs http: move rate-limiting out of client feature 2023-03-02 16:14:04 +01:00
uri.rs http: take over json_object_to_query 2022-06-29 10:32:44 +02:00