mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Auto merge of #8991 - alexcrichton:debug-curl-verison, r=Eh2406
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.
This commit is contained in:
commit
27dba04f40
@ -603,6 +603,7 @@ pub fn configure_http_handle(config: &Config, handle: &mut Easy) -> CargoResult<
|
||||
|
||||
if let Some(true) = http.debug {
|
||||
handle.verbose(true)?;
|
||||
log::debug!("{:#?}", curl::Version::get());
|
||||
handle.debug_function(|kind, data| {
|
||||
let (prefix, level) = match kind {
|
||||
InfoType::Text => ("*", Level::Debug),
|
||||
|
Loading…
x
Reference in New Issue
Block a user