Skip to content

Commit 12ee5a7

Browse files
committed
With debug HTTP mode log curl's version
This will hopefully help any future reports where we're trying to figure out what's going on with possible different versions of the `curl` library.
1 parent fde8ee3 commit 12ee5a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cargo/ops/registry.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,7 @@ pub fn configure_http_handle(config: &Config, handle: &mut Easy) -> CargoResult<
603603

604604
if let Some(true) = http.debug {
605605
handle.verbose(true)?;
606+
log::debug!("{:#?}", curl::Version::get());
606607
handle.debug_function(|kind, data| {
607608
let (prefix, level) = match kind {
608609
InfoType::Text => ("*", Level::Debug),

0 commit comments

Comments
 (0)