()
| 303 | } |
| 304 | |
| 305 | pub fn build_insecure_rustls_config() -> Result<rustls::ClientConfig> { |
| 306 | let config = rustls::ClientConfig::builder() |
| 307 | .dangerous() |
| 308 | .with_custom_certificate_verifier(std::sync::Arc::new(InsecureServerCertVerifier)) |
| 309 | .with_no_client_auth(); |
| 310 | Ok(config) |
| 311 | } |
| 312 | |
| 313 | /// Tunnel proxy addresses keyed by upstream endpoint + token. |
| 314 | /// |
no outgoing calls
no test coverage detected