- 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::legacy
DNS resolvers to set non-zero ports on returned addresses. - Fix
client::legacy
wrongly 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()
tolegacy
client, a port from hyper v0.14.x. - Add
Error::connect_info()
tolegacy
client, a port from hyper v0.14.x.
- Add support for AIX operating system to
legacy
client. - Fix
legacy
client to better use dying pooled connections.
- Add
server::graceful::GracefulShutdown
helper to coordinate over many connections. - Add
server::conn::auto::Connection::into_owned()
to unlink lifetime fromBuilder
. - Allow
service
module to be available with onlyservice
feature enabled.
- Add
initial_max_send_streams()
tolegacy
client builder - Add
max_pending_accept_reset_streams()
tolegacy
client builder - Add
max_headers(usize)
toauto
server builder - Add
http1_onl()
andhttp2_only()
toauto
server builder - Add connection capturing API to
legacy
client - 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
legacy
pool. - Add support to enable http1/http2 parts of
auto::Builder
individually.
- Fix
auto
connection so it can handle requests shorter than the h2 preface. - Fix
legacy::Client
to no longer error when keep-alive is diabled.
- Add
graceful_shutdown()
method toauto
connections. - Add
rt::TokioTimer
type that implementshyper::rt::Timer
. - Add
service::TowerToHyperService
adapter, allowing usingtower::Service
s as ahyper::service::Service
. - Implement
Clone
forauto::Builder
. - Exports
legacy::{Builder, ResponseFuture}
.
- Enable HTTP/1 upgrades on the
legacy::Client
. - Prevent divide by zero if DNS returns 0 addresses.
- Make
server-auto
enable theserver
feature.
- Reduce
Send
bounds requirements forauto
connections. - Docs: enable all features when generating.
Initial release.