Releases: alexcrichton/curl-rust
Releases · alexcrichton/curl-rust
Improved Unix socket support
Added
- Add
proxy_cacert, which completes the bindings for proxy SSL options. (#160, #344) - Update bundled libcurl build configuration to enable support for Unix sockets automatically on Unix platforms. (#297, #309, #346)
- Add
unix_socket_paththat exposes more Unix socket control than the existingunix_socketmethod. (#347) - Expose
CURLOPT_CONNECT_TOviaconnect_to, which allows you to override the socket address that requests are made to. (#348)
Dependencies
0.4.30
Fixed
- Fix a safety hole in
Multi::closeand hide it from docs. This method previously would free the underlyingCURLMpointer without consuming theMultistruct, making it possible to cause a use-after-free in safe code. This function now simply returnsOk(())in order to maintain backwards compatibility, but will be either changed or removed in a future breaking release. (#340, #342)
Added
- Add bindings for setting SSL/TLS options for proxies:
proxy_cainfo,proxy_sslcert, andproxy_sslkey. (#339) - Add
HttpVersion::V3to accomodate for future HTTP/3 support. (#331)
Changed
- Mitigate a race condition that can occur when libcurl is first initialized with certain TLS engine versions on a thread other than the main thread by attempting to initialize in a constructor function automatically. This should reduce the likelihood of the misuse occurring on most targets. (#333, #334)