Skip to content

Releases: tmccombs/tls-listener

v0.11.2

22 Nov 09:17

Choose a tag to compare

Fixed

  • Add cfg cond for unix on UnixListener (#64)

Full Changelog: v0.11.1...v0.11.2

v0.11.1

20 Nov 09:02
3adbe03

Choose a tag to compare

What's Changed

Full Changelog: v0.11.0...v0.11.1

v0.11.0

16 Feb 08:06
5f2f3e0

Choose a tag to compare

What's Changed

  • Breaking change: Minimum supported version of tokio-rustls is 0.26
  • Updated to edition 2021

Full Changelog: v0.10.3...v0.11.0

v0.10.3

14 Jan 07:17

Choose a tag to compare

What's Changed

Full Changelog: v0.10.2...v0.10.3-1

v0.10.2

14 Jan 06:43

Choose a tag to compare

What's Changed

  • Stop automatically pulling in aws-lc as a dependency by @OverShifted in #46

New Contributors

Full Changelog: v0.10.1...v0.10.2

v0.10.1

06 Jul 22:23
bdd9432

Choose a tag to compare

What's Changed

Full Changelog: v0.10.0...v0.10.1

v0.10.0

15 Mar 06:29

Choose a tag to compare

Security Advisory

Versions prior to this using the default configuration are vulnerable to a Slowloris attack.

This version mitigates the vulnerability.

Previous versions can mitigate the vulnerability by increasing the value passed to Builder::max_handshakes to a large
number (such as usize::MAX). Decreasing the handshake_timeout can also help, although it is still strongly recommended
to increase the max_handshakes more than the current default.

Changes

  • [breaking] Change poll_accept not to have a limit on the number of pending handshakes in the queue,
    so that connections that are not making progress towards completing the handshake will not block other
    connections from being accepted. This replaces Builder::max_handshakes with Builder::accept_batch_size.

v0.9.0

05 Dec 07:16

Choose a tag to compare

I apologize for yet another breaking release

This corresponds with the release of hyper 1.0, where it no longer makes sens to have direct support from this library.

Since I needed a breaking change anyway, I took the opportunity to make the API a little cleaner.

[0.9.0] - 2023-12-05

Features

  • [breaking] Remove until & remove option from accept
    • BREAKING CHANGE: remove until from AsyncAccept trait. Use
      StreamExt.take_until on the TlsListener instead.
    • BREAKING CHANGE: accept fn on AsyncAccept trait no longer returns an
      Option
    • BREAKING CHANGE: accept fn on TlsListener no longer returns an Option

Upgrade

  • [breaking] Update to hyper 1.0
    • BREAKING CHANGE: Removed hyper-h1 and hyper-h2 features

0.6.0

30 Dec 09:27

Choose a tag to compare

Added

  • Added additional tests and examples
  • Re-export tls engine crates as public modules.

Changed

  • Increased default handshake timeout to 10 seconds (technically a breaking change)

0.5.1

22 Mar 05:41

Choose a tag to compare

Added

Fixed

  • Fixed compilation on non-unix environments, where tokio-net doesn't include unix sockets
  • SpawningHandshakes will abort the tasks for pending connections when the linked futures are dropped. This should allow timeouts to cause the connectionto be closed.