Skip to content

Releases: tmccombs/tls-listener

0.5.0

20 Mar 07:48
49a011c

Choose a tag to compare

Added

  • Added [AsyncAccept::until] method, that creates a new AsyncAccept that will stop accepting connections after another future finishes.
  • Added hyper submodule to add additional support for hyper. Specifically, a newtype for the hyper Accept trait for AsyncAccept.
  • Added SpawningHandshakes struct behind the rt feature flag. This allows you to perform multiple handshakes in parallel with a multi-threaded runtime.

Changed

  • Backwards incompatible: AsyncAccept::poll_accept now returns, Poll<Option<Result<...>>> instead of Poll<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 of AsyncAccept, 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.

0.4.3

20 Mar 07:47

Choose a tag to compare

  • Added TlsListener::replace_accept_pin() function to allow replacing the listener certificate at runtime, when the listener is pinned.

v0.4.2

13 Mar 08:01

Choose a tag to compare

Added [TlsListener::replace_acceptor()] function to allow replacing the listener certificate at runtime.

v0.4.1

09 Mar 07:00

Choose a tag to compare

Bump version to 0.4.1

0.3.0

19 Jan 07:57

Choose a tag to compare

This release primarily updates tokio-rustls to 0.23. Which slightly changes how to create the serverconfig.

0.2.0

02 Jan 06:31

Choose a tag to compare

This is basically a complete rewrite.

Things that changed:

  • Now uses rustls instead of native-tls
  • Supports tokio 1.0
  • Supports hyper 0.14
  • Added feature flags for hyper support