- Allow
rustls-platform-verifierto 0.7.
- Bump
rustls-platform-verifierto 0.6.
- Uses the
httpcrate structs to represent the HTTP model (Request,Response,StatusCode...) instead of the ones defined byoxhttp. Only theBodystruct is implemented byoxhttp. - The
rustls-*-nativefeatures now rely on therustls-platform-verifiercrate to support certificate revocation. The now redundantrustls-*-platform-verifierfeatures have been removed.
- Increases read and write buffer sizes to 16kB.
- Bump
rustls-platform-verifierto v0.5.
- Bump MSRV to 1.74.
- Set TCP_NODELAY in client and server
TcpStreams.
- Makes chunked transfer encoding decoder properly return
Ok(0)after end.
- Upgrades to
rustls-platform-verifier0.4.
- Allows setting
HeaderNameinappend_headerandwith_header.
- Upgrades to
rustls-native-certs0.8.
rustls-aws-lc-platform-verifierandrustls-ring-platform-verifierfeatures to use the rustls-platform-verifier crate to validate TLS certificates.
No change compared to the alpha releases.
- Upgrades
rustlsto 0.23 and its dependencies to compatible versions. - Splits the
rustls-nativeandrustls-webkpifeatures intorustls-ring-native,rustls-ring-webpki,rustls-aws-lc-nativeandrustls-aws-lc-webpkito allow choosing which cryptographic library to use.
- Upgrades
rustlsto 0.22 and its dependencies to compatible versions. - Relaxes dependency requirements on
flate2
Server.bindto set a socket the server should listen to.Server.spawnto spawn the server in a new set of threads and return a handle to it.
Server.listenfunction that is now replaced byServer.bind(address).spawn().join().
- Renames
Server.max_num_threadstoServer.with_max_concurrent_connections
- When the
flate2crate is installed, the HTTP client and server are able to decode bodies withContent-Encodingset togzipanddeflate(no encoding yet). clientandserverfeatures to enable the HTTP client and server. They are both enabled by default.Server::with_max_num_threadsallows to set an upper bound to the number of threads running at the same time.
- Rayon-based thread pool.
- The
rustlsfeature has been split intorustls-nativeandrustls-webpkito either rust the platform certificates or the ones from the Common CA Database. - All the
set_methods onClientandServerhave been renamed towith_and now takes and returns the mutated objects by value (builder pattern). - Upgrades minimum supported Rust version to 1.70.
- Upgrades
webpki-rootsdependency to 0.25.
- Upgrades
rustlsdependency to 0.21.
IntoHeaderNametrait that allows to call methods with plain strings instead of explicitHeaderNameobjects.clientandserverfeatures to enable/disable the HTTP client and/or server (both features are enabled by default).
- Bindings to server localhost now properly binds to both IPv4 and IPv6 at the same time.
- Set minimum supported Rust version to 1.60.
- A body is now always written on POST and PUT request and on response that have not the status 1xx, 204 and 304. This allows clients to not wait for an existing body in case the connection is kept alive.
- The TLS configuration is now initialized once and shared between clients and saved during the complete process lifetime.
Server: It is now possible to use a Rayon thread pool instead of spawning a new thread on each call.
- Chunk Transfer Encoding serialization was invalid: the last empty chunk was ending with two line jumps instead of one as expected by the specification.
Server: Thread spawn operation is restarted if it fails.Server:text/plain; charset=utf8media type is now returned on errors instead of the simplertext/plain.
- Rustls usage is now available behind the
rustlsfeature (disabled by default).
- Redirections support to the
Client. By default the client does not follow redirects. TheClient::set_redirection_limitmethod allows to set the maximum number of allowed consecutive redirects (0 by default).
Server: Do not display a TCP error if the client disconnects without having sent theConnection: closeheader.
- Fixes a possible DOS attack vector by sending very long headers.
- Basic
ClientandServerimplementations.