Daniel Abramov
9e4244aecf
Merge pull request #81 from najamelan/cleanup/use_can_read
...
Make use of can_read to clean up some code
5 years ago
Naja Melan
17fe7987eb
Make use of can_read
5 years ago
Daniel Abramov
dd602455c4
Merge pull request #79 from najamelan/docs/close
...
WIP: Add some documentation to WebSocket and Error.
5 years ago
Daniel Abramov
b807f76ed1
Update error description
...
Remove the statement which is not valid anymore.
5 years ago
Daniel Abramov
0da592a9d4
Merge pull request #74 from najamelan/bugfix/no_send_after_close
...
Do not allow sending messages after sending a close frame
5 years ago
Naja Melan
1ee3f342aa
Consider remote sending a frame after sending a close frame a protocol error.
...
The websocket RFC explicitly states this is not allowed.
5 years ago
Naja Melan
2918eec1b3
No longer accept to send after close
5 years ago
Naja Melan
2004309814
integration test for no_send_after_close
5 years ago
Daniel Abramov
da323e6307
Merge pull request #75 from najamelan/bugfix/return_pong_after_initiate_close
...
Don't swallow ping/pong while waiting for close acknowledgement
5 years ago
Daniel Abramov
2b2e663264
Merge pull request #73 from dbcfd/expose-machine
...
Tokio-Tungstenite Async Changes
5 years ago
Danny Browning
6369d48579
Fix compilation error without default features
5 years ago
Naja Melan
f818322a25
Add some documentation to WebSocket and Error.
5 years ago
Naja Melan
9379ebe47d
Don't swallow ping/pong while waiting for close acknowledgement
5 years ago
Danny Browning
02684b4946
Try removing unpin
5 years ago
Daniel Abramov
fc41b598ce
Merge pull request #72 from najamelan/bugfix/receive_after_close
...
Keep processing incoming data even after we have initiated a close handshake.
5 years ago
Naja Melan
bf63a71cd1
cleanup unnecessary dereference
5 years ago
Danny Browning
614a5068fa
Tokio-Tungstenite Async Changes
...
Changes required for tokio-tungstenite async implementation.
5 years ago
Naja Melan
2e72b562ce
Improve error reporting from tests
5 years ago
Naja Melan
28579b567a
Improve WebSocketState interface with Copy, PartialEq, ...
5 years ago
Naja Melan
b923ec42c0
Keep processing incoming data even after we have initiated a close handshake.
5 years ago
Naja Melan
a3625fbaa9
integration test verifying that we can read messages after initiating close handshake.
5 years ago
Daniel Abramov
c6c3db34cc
Merge pull request #67 from vorot93/rust-2018
...
Edition 2018, formatting, clippy fixes
5 years ago
Artem Vorotnikov
cbf80ecc76
Edition 2018, formatting, clippy fixes
5 years ago
Alexey Galakhov
b40256eedd
Merge pull request #66 from snapview/fix-close
...
Fix error `ConnectionClosed` never returned to server when server initiated close
5 years ago
Daniel Abramov
e2bec4b81f
Change the way we return `Err::ConnectionClosed`
...
This way will ensure that we only return this error once. The previous
solution fixed the problem, but it did not guarantee that ""connection
closed" is returned only once.
5 years ago
Daniel Abramov
03b43bd074
Update the link to docs
5 years ago
Daniel Abramov
fa1f4a5ee2
Bump version
5 years ago
Daniel Abramov
dbc8bd7b71
Fix issue with hanging server connection
5 years ago
Alexey Galakhov
c7e1cf1f26
Version 0.9.0 released.
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
5 years ago
Alexey Galakhov
4b29243ff6
Merge pull request #64 from atouchet/links
...
Update links
5 years ago
Alex Touchet
7581706c90
Update links
5 years ago
Alexey Galakhov
78cea4992b
Merge pull request #63 from SimonSapin/url
...
Update the url crate to 2.0
5 years ago
Simon Sapin
4b1d89daf1
Update the url crate to 2.0
5 years ago
Alexey Galakhov
46629f7ed4
Version 0.8.1 released
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
6 years ago
Alexey Galakhov
4443e910ac
test: autobahn: correct configuration
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
6 years ago
Alexey Galakhov
758c522b31
travis: add automated autobahn tests
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
6 years ago
Alexey Galakhov
06308b1b3f
close: fix autobahn regression
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
6 years ago
Alexey Galakhov
dd300f8bd7
Merge pull request #60 from snapview/close-fixes
...
Fixes for the "close-is-a-message" semantics.
6 years ago
Alexey Galakhov
3fb359224e
Bump version
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
6 years ago
Alexey Galakhov
f4769a950c
example: trivial: init logger in server example
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
6 years ago
Alexey Galakhov
8cc65fdddc
fuzz: make it working again
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
6 years ago
Alexey Galakhov
b8f7d3668e
close: refine close semantics
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
6 years ago
Alexey Galakhov
de90c3877d
Version 0.7.0 released.
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
6 years ago
Alexey Galakhov
efb49edac0
trivial: update env_logger dependency
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
6 years ago
Daniel Abramov
9bab9defde
Merge pull request #59 from snapview/callback-error
...
server: let callback return HTTP error messages
6 years ago
Alexey Galakhov
6f132208ee
server: let callback return HTTP error messages
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
6 years ago
Daniel Abramov
8ed73fd28a
Merge pull request #58 from ubnt-intrepid/websocket-context
...
extract the context values from `WebSocket`
6 years ago
Yusuke Sasaki
828eafd400
extract the context values from `WebSocket`
6 years ago
Alexey Galakhov
62e3aff69a
Merge pull request #56 from snapview/close-as-message
...
Make `Close` part of the `Message` enum
6 years ago
Daniel Abramov
a8023f4b2d
Bump version
6 years ago