Releases: tmccombs/tls-listener
Releases · tmccombs/tls-listener
0.5.0
Added
- Added [
AsyncAccept::until] method, that creates a newAsyncAcceptthat will stop accepting connections after another future finishes. - Added
hypersubmodule to add additional support for hyper. Specifically, a newtype for the hyperAccepttrait forAsyncAccept. - Added
SpawningHandshakesstruct behind thertfeature flag. This allows you to perform multiple handshakes in parallel with a multi-threaded runtime.
Changed
- Backwards incompatible:
AsyncAccept::poll_acceptnow returns,Poll<Option<Result<...>>>instead ofPoll<Result<...>>. This allows the incoming stream of connections to stop, for example, if a graceful shutdown has been initiated.impls provided by this crate have been updated, but custom implementations ofAsyncAccept, or direct usage of the trait may break. - Removed unnecessary type bounds (see #14). Potentially a breaking change, although I'd be suprised if any real code was affected.