Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/download/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,8 @@ mod reqwest_be {
.map_err(DownloadError::Reqwest)?;

let _ = CLIENT_NATIVE_TLS.set(client);

// "The cell is guaranteed to contain a value when `set` returns, though not necessarily
// the one provided."
Ok(CLIENT_NATIVE_TLS.get().unwrap())
}

Expand Down
Loading