Skip to content

Add separate Rustls configuration for HTTPS proxies - #3113

Open
ropoctl wants to merge 2 commits into
seanmonstar:masterfrom
ropoctl:feat/https-proxy-tls
Open

ropoctl wants to merge 2 commits into
seanmonstar:masterfrom
ropoctl:feat/https-proxy-tls

Conversation

@ropoctl

@ropoctl ropoctl commented Oct 16, 2026

Copy link
Copy Markdown

I want to make it possible to set separate TLS params for https proxy vs the target url.

@ropoctl

ropoctl commented Nov 26, 2026

Copy link
Copy Markdown
Author

@seanmonstar when you have a moment would you be able to look at this pr?

Accept any `T: Any` from the `https_proxy_tls_config` factory closure
instead of exposing `Arc<rustls::ClientConfig>` in the public API,
matching `ClientBuilder::tls_backend_preconfigured`.

Support `rustls::ClientConfig`, `Arc<rustls::ClientConfig>`,
`native_tls::TlsConnector`, and `Arc<native_tls::TlsConnector>` across
both `rustls` and `native-tls` client backends, and reject unrecognized
TLS configuration types at `ClientBuilder::build()` time.
@ropoctl
ropoctl force-pushed the feat/https-proxy-tls branch from 07ca8c3 to c7f483d Compare November 26, 2026 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant