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_path
that exposes more Unix socket control than the existingunix_socket
method. (#347) - Expose
CURLOPT_CONNECT_TO
viaconnect_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::close
and hide it from docs. This method previously would free the underlyingCURLM
pointer without consuming theMulti
struct, 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::V3
to 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)