Daniel Abramov
3c150d1174
Make the semantics of `Stream` more reasonable
...
Closes https://github.com/snapview/tokio-tungstenite/issues/200
3 years ago
Daniel Abramov
683385b323
Update the autobahn tests to match `tungstenite`
...
See https://github.com/snapview/tungstenite-rs/pull/271/files
3 years ago
kazk
d2d8744c2e
Fix autobahn scripts
3 years ago
Benoît CORTIER
72fb249d8f
Refactor similar conditional branches in `WebSocketStream::poll_close`
3 years ago
Sebastian Dröge
01282a029f
Update version to 0.17.1
3 years ago
Sebastian Dröge
02f00f583f
Update CHANGELOG.md for 0.17.1
3 years ago
Sebastian Dröge
1a7ac567ea
Fix a couple of minor clippy warnings
3 years ago
Benoît Cortier
a4546af441
Fix typo in comment
...
Co-authored-by: Sebastian Dröge <slomo@coaxion.net>
3 years ago
Benoît CORTIER
4dd8888a9d
Fix `poll_close` returning WouldBlock error kind
3 years ago
Sebastian Dröge
4cc0ffd5f9
Update tungstenite to 0.17, async-native-tls to 0.4 and glib/gio to 0.15
3 years ago
Leo
dfa69eaea4
Fix the echo server example to prevent ConnectionClosed error ( #189 )
...
Related #188
The echo server would generate ConnectionClosed error when the peer
close the connection normally. This is because that `tungstenite` crate
automatically reply Close message to the peer. Then StreamExt::forward()
also forwards the Close message after the connection is closed.
3 years ago
Sebastian Dröge
3af5ff5c3b
Update version to 0.16.1
3 years ago
Andy Russell
a1521f4c09
strip IPv6 brackets before connecting to IP
3 years ago
Sebastian Dröge
558d0af2d4
Update CHANGELOG.md for 0.16.0
3 years ago
Dominik Nakamura
64f60d8d33
Upgrade to rustls 0.20 / tungstenite 0.16
...
Based on tokio-tungstenite PR:
https://github.com/snapview/tokio-tungstenite/pull/198
Co-authored-by: Sebastian Dröge <sebastian@centricular.com>
3 years ago
Sebastian Dröge
2cc6125411
Update to version 0.15.0
3 years ago
Sebastian Dröge
ee6c24d327
Update to tungstenite 0.15
3 years ago
Sebastian Dröge
e1ef88d0e3
Update to tungstenite 0.14 and env_logger 0.9
3 years ago
Dominik Nakamura
f69a7fa035
Use 127.0.0.1 in tests to avoid firewall warnings
3 years ago
Daniel Abramov
714e096ae4
tests: fix confusing wrong paths in the scripts
3 years ago
Daniel Abramov
1c9e7ea8fb
tests: use autobahn test suite as docker image
...
According to the documentation from the Autobahn Suite GitHub page, it
seems like they do not support Python 3 which is currently the default
Python version used with our GitHub Actions.
The simplest way to workaround it properly seems to be using the Docker
image that the maintainers of the project suggest to use for running the
suite. This is more future-proof way that we should rely upon.
This commit also removes some redundant steps that are not required.
3 years ago
Dominik Nakamura
fcb209d6de
Reduce crate package size
3 years ago
Sebastian Dröge
15adbdf640
Fix formatting
4 years ago
Sebastian Dröge
5726be5f2b
Update gio-runtime feature to glib/gio 0.14
4 years ago
Sebastian Dröge
b201d954cc
Update version to 0.14.0 and release
4 years ago
Alisue
e152c8511b
Expose `client_async_tls_with_connector_and_config`
4 years ago
QiuJiangkun
44a59b66e5
conditionally disable verbose logging ( #92 )
...
* conditionally disable verbose logging
* disable logging setting context ... conditionally
* no verbose logging by default
4 years ago
Yusuf Bera Ertan
83395f3d7c
fix: cargo fmt
4 years ago
Yusuf Bera Ertan
5258049729
fix: matching delimter
4 years ago
Yusuf Bera Ertan
9a451996e0
ci: fix ci file to test new features
4 years ago
Yusuf Bera Ertan
b0689b6520
feat: make tokio-rustls-native-certs preferred, disallow enabling both at the same time
...
Co-authored-by: Sebastian Dröge <slomo@coaxion.net>
4 years ago
Yusuf Bera Ertan
e89b49c16d
feat: add two new features to allow using webpki-roots or rustls-native-certs
4 years ago
Sebastian Dröge
09ba02ef15
Update version to 0.13.1
4 years ago
Sebastian Dröge
108bc1fab1
Fix tokio-openssl connect API
...
After creating the SslStream it first has to be connected before it can
actually be used to initiate the WebSocket connection.
While this technically is a breaking API changes because of wrapping the
stream in a Pin<Box<_>> and having this as part of the public API, the
old API simply didn't work so if anybody's code fails to compile now
they would've had non-functioning code anyway.
4 years ago
amesgen
d28799bc12
add get_{ref,mut} for TokioAdapter
4 years ago
hansolshin
36d1ab22f1
Add #[derive(Debug)] to Stream
4 years ago
Sebastian Dröge
1170f4e080
Fix a couple of clippy warnings
4 years ago
Sebastian Dröge
842fbb895f
Release 0.13.0
4 years ago
Sebastian Dröge
24cae74484
Update to tungstenite 0.13
...
And improve error mapping.
Fixes https://github.com/sdroege/async-tungstenite/issues/79
4 years ago
Constantin Nickel
f51f074491
Update changelog
4 years ago
Sebastian Dröge
f276998e55
Release 0.12.0
4 years ago
Sebastian Dröge
1ec33071e4
Update webpki-roots to 0.21
4 years ago
Constantin Nickel
ab28b2d367
Migrate from pin-project to pin-project-lite
4 years ago
Sebastian Dröge
33e3722ab0
Update version to 0.11.0
4 years ago
Ruben Anders
c2cbb7844c
Add tokio update to changelog
4 years ago
Constantin Nickel
253f8c9291
Update to tokio 1.0
4 years ago
Ruben Anders
7f145a5661
Add changelog
4 years ago
root
6cb24591ad
update to async-tls
4 years ago
Josh Triplett
95e23ee155
README: add note about streaming and ws_stream_tungstenite
4 years ago
Constantin Nickel
8aa7427b84
Switch to hecrj/setup-rust-action
...
The action registers problem matchers to highlight errors and warnings.
4 years ago