Niko PLP
13de4e3643
rename package
5 months ago
Niko PLP
f27c31a42d
rename package
5 months ago
Niko PLP
979de8e77d
dependency to tungstenite-rs changed to nextgraph branch
1 year ago
Sebastian Dröge
59a8bf29db
Update version to 0.22.2
1 year ago
ComplexSpaces
2365647978
Bump MSRV to 1.64
1 year ago
ComplexSpaces
e935f4078b
Add tokio-rustls-manual-roots feature
...
This allows dropping the forced dependency on webpki-roots when using
a custom connector that provides its own TLS roots instead.
1 year ago
Sebastian Dröge
7d844cb711
Update version to 0.22.1
1 year ago
Sebastian Dröge
bd70128079
Check MSRV on the CI
1 year ago
Benoît CORTIER
068a9a6984
Fix poll_flush on closed connection
...
Flushing when there is nothing to send anymore should succeed.
Relevant code in `tungstenite` crate code:
e5efe537b8/src/protocol/mod.rs (L390)
1 year ago
Sebastian Dröge
fcd8632532
Set rust-version in Cargo.toml
1 year ago
Sebastian Dröge
ff8e78d88f
Update CHANGELOG.md for 0.22
1 year ago
CGQAQ
fd81cce2cc
feat: upgrade tokio-rustls to 0.24
1 year ago
Sebastian Dröge
9926ffd672
Update version to 0.21.0
2 years ago
Guillaume Desmottes
c7102a649b
update deps
...
Didn't update 'tokio-rustls' as tungstenite still uses the older one.
2 years ago
Guillaume Desmottes
0a299fb5fe
examples: gio-echo-server: fix clippy warnings
2 years ago
Carlos Martín Nieto
7805e80aec
gio-echo-server: add an example with a SocketService
...
This lets us use the SocketService we might already want to use and use it for a
websocket server.
2 years ago
Carlos Martín Nieto
fe1c2aeb95
gio-echo: explicitly close the stream
...
Not doing so means we rudely disconnect from the socket without clong out our
websocket stream
2 years ago
Carlos Martín Nieto
f8e6c3a8c3
gio: add accept_async and related functions
...
These are the server-side functions just like we have them e.g. for tokio so we
can run servers.
2 years ago
Sebastian Dröge
da62f071f5
Release 0.20.0
2 years ago
Sebastian Dröge
fa9d6c01dc
Update async-tls to 0.12, env-logger to 0.10 and glib/gio to 0.17
2 years ago
Sebastian Dröge
4e59da8e50
Release 0.19.0
2 years ago
Sebastian Dröge
aed66e94c5
Fix compilation of tests without handshake feature
2 years ago
Sebastian Dröge
44748227ab
ci: Also check running with --no-default-features
2 years ago
Daniel Abramov
e730269144
Feature-gate handshakes / communication test
2 years ago
Icelk
1dd92fc13a
Make handshake dependencies optional.
2 years ago
Remalloc
952681ed06
Fix the unreachable test url
2 years ago
Sebastian Dröge
86556189e3
Update CHANGELOG.md for 0.18.0
2 years ago
Sebastian Dröge
5ca913b839
Update to glib/gio 0.16
2 years ago
Ahmed Charles
2e61ecbbb1
Add an example of using tungstenite with a custom accept.
2 years ago
Daniel Abramov
31dac03929
autobahn: make timeout higher
...
It seems like GitHub Actions went slower in the last months since we
sometimes observe a problem when our `autobahn-server` is not started
quickly enough which leads to the autobahn suite trying to connect to
the server that is not yet running resulting into failed pipeline.
See https://github.com/snapview/tokio-tungstenite/runs/6658266507?check_suite_focus=true
2 years ago
Sebastian Dröge
f5025ed696
Release 0.17.2
3 years ago
Daniel Abramov
38bfaa4f10
Implement the `FusedStream` along with `Stream`
3 years ago
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