- Fix
proxy::Matcherto properly match domains regardless of casing - Fix system proxy matcher dependency on macOS when used in sandboxed environements.
- Increased MSRV to 1.64.
- Add
client::poolmodule for composable pools. Enable with theclient-poolfeature. - Add
pool::singletonfor sharing a single cloneable connection. - Add
pool::cachefor caching a list of connections. - Add
pool::negotiatefor combining two pools with upgrade and fallback negotiation. - Add
pool::mapfor customizable mapping of keys and connections.
- Fix
rt::TokioTimerto support Tokio's paused time. - Fix
client::proxy::match::Matcherto parse auth without passwords.
- Fix
legacy::Clientto allow absolute-form URIs whenConnected::proxy(true)is passed and the scheme ishttps.
- Add
impl Cloneforproxy::Tunnelservice. - Fix
proxy::Matcherto detect SOCKS4 schemes. - Fix
legacy::Clientpool idle checker to trigger less aggresively, saving CPU.
- Add header casing options to
auto::Builder. - Fix
proxy::Socksv5to check for enough bytes before parsing ipv6 responses. - Fix including
client-proxyin thefullfeature set.
- Fix
HttpConnectorto defer address family order to resolver sort order. - Fix
proxy::Matcherto find HTTPS system proxies on Windows.
- Fix
HttpConnectorto always prefer IPv6 addresses first, if happy eyeballs is enabled. - Fix
legacy::Clientto return better errors if available on the connection.
- Add
client::legacy::proxy::Tunnelconnector that wraps another connector with HTTP tunneling. - Add
client::legacy::proxy::{SocksV4, SocksV5}connectors that wraps another connector with SOCKS. - Add
client::proxy::matcher::Matchertype that can use environment variables to match proxy rules. - Add
server::graceful::Watchertype that can be sent to watch a connection in another task. - Add
GracefulShutdown::count()method to get number of currently watched connections. - Fix missing
must_useattributes onConnectionfutures. - Fix tracing span in GAI resolver that can cause panics.
- Add
tracingcrate feature with support inTokioExecutor. - Add
HttpConnector::interface()support for macOS and Solarish systems. - Add
rt::WithHyperIoandrt::WithTokioIocombinators. - Add
auto_date_header()for auto server builder. - Add
max_local_error_reset_streams()for auto server builder. - Add
ignore_invalid_headers()for auto server builder. - Add methods to determine if auto server is configured for HTTP/1 or HTTP/2.
- Implement
ConnectionforUnixStreamandNamedPipeClient. - Fix HTTP/2 websocket requests sent through
legacy::Client.
- Add
http2_max_header_list_size(num)option to legacy client builder. - Add
set_tcp_user_timeout(dur)option to legacyHttpConnector.
- Add support for
client::legacyDNS resolvers to set non-zero ports on returned addresses. - Fix
client::legacywrongly retrying pooled connections that were created successfully but failed immediately after, resulting in a retry loop.
- Add
server::conn::auto::upgrade::downcast()for use with auto connection upgrades.
- Add
Connected::poison()tolegacyclient, a port from hyper v0.14.x. - Add
Error::connect_info()tolegacyclient, a port from hyper v0.14.x.
- Add support for AIX operating system to
legacyclient. - Fix
legacyclient to better use dying pooled connections.
- Add
server::graceful::GracefulShutdownhelper to coordinate over many connections. - Add
server::conn::auto::Connection::into_owned()to unlink lifetime fromBuilder. - Allow
servicemodule to be available with onlyservicefeature enabled.
- Add
initial_max_send_streams()tolegacyclient builder - Add
max_pending_accept_reset_streams()tolegacyclient builder - Add
max_headers(usize)toautoserver builder - Add
http1_onl()andhttp2_only()toautoserver builder - Add connection capturing API to
legacyclient - Add
impl Connection for TokioIo - Fix graceful shutdown hanging on reading the HTTP version
- Add
Error::is_connect()which returns true if error came from clientConnect. - Add timer support to
legacypool. - Add support to enable http1/http2 parts of
auto::Builderindividually.
- Fix
autoconnection so it can handle requests shorter than the h2 preface. - Fix
legacy::Clientto no longer error when keep-alive is diabled.
- Add
graceful_shutdown()method toautoconnections. - Add
rt::TokioTimertype that implementshyper::rt::Timer. - Add
service::TowerToHyperServiceadapter, allowing usingtower::Services as ahyper::service::Service. - Implement
Cloneforauto::Builder. - Exports
legacy::{Builder, ResponseFuture}.
- Enable HTTP/1 upgrades on the
legacy::Client. - Prevent divide by zero if DNS returns 0 addresses.
- Make
server-autoenable theserverfeature.
- Reduce
Sendbounds requirements forautoconnections. - Docs: enable all features when generating.
Initial release.