This version fixes errors with ALPN negotiation in rustls, which is
necessary for HTTP/2 support. For more information see the rustls-ffi
changelog.
Closes #8013
[Rustls is a TLS backend written in Rust.](https://docs.rs/rustls/). Curl can
be built to use it as an alternative to OpenSSL or other TLS backends. We use
the [rustls-ffi C bindings](https://github.com/rustls/rustls-ffi/). This
-version of curl depends on version v0.8.0 of rustls-ffi.
+version of curl depends on version v0.8.2 of rustls-ffi.
# Building with rustls
Next, check out, build, and install the appropriate version of rustls-ffi:
% cargo install cbindgen
- % git clone https://github.com/rustls/rustls-ffi -b v0.8.0
+ % git clone https://github.com/rustls/rustls-ffi -b v0.8.2
% cd rustls-ffi
% make
% make DESTDIR=${HOME}/rustls-ffi-built/ install
curl_env:
T: debug-rustls
# Keep this in sync with the version in docs/RUSTLS.md
- RUSTLS_VERSION: v0.8.0
+ RUSTLS_VERSION: v0.8.2
LIBS: -lm
C: >-
--with-rustls={{ ansible_user_dir }}/rustls