alexcrichton / alexcrichton/curl-rust
`Easy2::max_redirections` takes u32 instead of i32
Open
- Dominant language
- Rust
- Stars
- 1.1k
- Forks
- 258
- PR merge metrics
- No merged PRs in 30d
Description
The `Easy2::max_redirections` function should take a i32 value since the documentation defines the value `-1` as infinite redirects[^1], although this is the default value you're unable to reset it back to the default using the function.
[^1]: https://curl.se/libcurl/c/CURLOPT_MAXREDIRS.html
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.