Skip to content

Commit

Permalink
fix: enforce rust-tls for reqwest (#2719)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hofer-Julian authored Dec 17, 2024
1 parent e391f44 commit f9bd6c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/pixi_utils/src/reqwest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ pub fn build_reqwest_clients(config: Option<&Config>) -> (Client, ClientWithMidd
.user_agent(app_user_agent)
.danger_accept_invalid_certs(config.tls_no_verify())
.read_timeout(Duration::from_secs(timeout))
.use_rustls_tls()
.build()
.expect("failed to create reqwest Client");

Expand Down

0 comments on commit f9bd6c9

Please sign in to comment.