Open stone-bits opened 3 years ago
This is likely falling back to the compiled in-tree version, which doesn't have this enabled by default. I think it would make sense though for this to be a feature on the curl-sys
crate so it could be enabled!
For anyone who might want to take a stab at this, here's the place where this is getting configured in the libcurl build: https://github.com/alexcrichton/curl-rust/blob/65d360ff46dc2bdede7bb396b382f76a4c3fdfcd/curl-sys/build.rs#L106
same problem with mac os catlina 'actix-rt:worker:1' panicked at 'called `Result::unwrap()` on an `Err` value: Error { description: "A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision.", code: 4, extra: None }',
. any soultion .
I think is is solved by #428.
We're using this crate with NTLM authentification with Windows and Linux.
I am facing exact same issue with ntlm authentication in latest curl crate (0.4.33). any solution suggestion please?
Did you activate the ntlm feature?
I believe NTLM feature is enabled by default. I am able to access configured NLTM proxy server through web browser though.
@pbert519 while I am being new to rust, realised little late about feature activation you asked. Below line in Cargo.toml helped to resolved issue. Thanks for help!
curl = {version="0.4.44", features = ["ntlm"]}
I'm evaluating rust for enterprise software development. It's crucial for us to have simple way to make http requests with Kerberos and NTLM authentication. I found no other crates that can do that.
I'm building on windows with cargo.toml settings:
code:
Running this code on windows 10 with command:
And I'm getting the following error:
It seems natural to have NTLM on windows enabled. Maybe I'm doing something wrong?