- Update dependencies (TLS, tungstenite).
- Return a runtime error when WSS URLs are used without a proper TLS feature enabled.
- Introduce a
url
feature (proxies totungstenite/url
).
- Update
tungstenite
to0.23.0
. - Disable default features on TLS crates.
- Update TLS dependencies.
Updatetungstenite
to match0.22.0
.
- Update TLS dependencies.
- Update
tungstenite
to0.21.0
.
- Fix RUSTSEC-2023-0053.
- Fix transitive CVE-2023-43669 from
tungstenite
.
- Change the buffering behavior for
Sink::send()
andSink::feed()
, seetungstenite
's changelog for more details.
- Allow users to enable/disable Nagle algorithm when using
connect()
helpers. - Improve the behavior of the
Sink
for theWebSocketStream
, so it does not return an error when it’s not necessary (whenpoll_flush()
is called on a connection that has just been closed). - Workaround an issue where
rustls
TLS backend expected domain in a certain format and reject IPv6 addresses if they contained square brackets in them. - Update dependencies and remove unused errors.
- Update dependencies (underlying
tungstenite
core).
- Make
Origin
header case-sensitive (to keep compatibility with poorely-written servers that don't accept lowercaseOrigin
header). - Make semantics of the reading form the
WebSocketStream
more reasonable (returnNone
instead of an error when the stream is normally closed). - Imrpove the way
poll_close()
works by properly driving the close of the stream till completion.
- Update the
tungstenite
dependency (fixes a panic intungstenite
and MSRV), seetungstenite
's changelog for more details.
- Update the dependencies, please refer to the
tungstenite
changelog for the actual changes.
- Fix feature selection problem when using TLS.
- Add a function to allow to specify the TLS connector when using
connect()
like logic. - Add support for choosing the right root certificates for the TLS.
- Change the behavior of the
connect()
so that it fails when using TLS without TLS feature. - Do not project with Unpin.
- Update the dependencies with important implications / improvements.
- Update the
tungstenite-rs
version to0.14.0
, checktungstenite-rs
release for more details.
- Support for
rustls
as TLS backend.- The
tls
feature was renamed tonative-tls
and uses a OS-native TLS implementation. - A new
native-tls-vendored
feature that usesnative-tls
but forces to build a vendored version (mostly foropenssl
) instead of linking against the system installation. - New
rustls-tls
feature flag to enable TLS withrustls
as backend. stream::Stream
was renamed toMaybeTlsStream
and wraps arustls
TLS stream as well now.- If both
native-tls
andrustls-tls
are enablednative-tls
is used by default. - A new
Connector
was introduced that is similar to the previousTlsConnector
but now allows to control the used TLS backend explicitly (or disable it) inclient_async_tls_with_config
.
- The
- Upgrade from Tokio 0.3 to Tokio 1.0.0.