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
Daniel Abramov
c8c3d6290d
Make `Close` part of the `Message` enum
6 years ago
Daniel Abramov
c33f4f3895
Merge pull request #53 from resilar/patch-1
...
Upgrade rand 0.5.2 -> 0.6.4
6 years ago
resilar
e03903ed29
Upgrade rand 0.5.2 -> 0.6.4
6 years ago
Alexey Galakhov
3ce4c01b92
Version 0.6.1 released.
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
6 years ago
Alexey Galakhov
4c8d64de12
Merge pull request #48 from emschwartz/master
...
feat: impl Into<Vec<u8>> for Message
6 years ago
Evan Schwartz
da85989934
feat: impl Into<Vec<u8>> for Message
6 years ago
Alexey Galakhov
4ee884a1e8
Merge pull request #44 from Shnatsel/master
...
Add fuzzing harness and seeds
7 years ago
Alexey Galakhov
3ac854f850
Version 0.6.0 released.
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
7 years ago
Alexey Galakhov
59f8d9c402
Merge pull request #43 from snapview/devel
...
Limiting and config improvements
7 years ago
Sergey "Shnatsel" Davidoff
9f2d9d5660
Add fuzzing seeds. They were obtained via fuzzing with `cargo afl` and `cargo fuzz` seeded with unit test data for these functions, and then minifying the result with `cargo fuzz cmin`
7 years ago
Sergey "Shnatsel" Davidoff
465ba41116
Add fuzzing harness via cargo-fuzz with three distinct targets
7 years ago
Alexey Galakhov
a7e87488c4
config: make config settable at runtime
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
7 years ago
Alexey Galakhov
9b0a2e0f11
trivial: split public and private impl
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
7 years ago
Alexey Galakhov
a2e122ab9e
refactor: mask: pass mask by value
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
7 years ago
Alexey Galakhov
e6ebf5ac76
trivial: style fixes
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
7 years ago
Alexey Galakhov
d2e3602170
frame: fix partial write
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
7 years ago
Alexey Galakhov
3772aaf163
chore: introduce frame size limit
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
7 years ago
Alexey Galakhov
50d1371e52
frame: cleanup frame API
...
Signed-off-by: Alexey Galakhov <agalakhov@snapview.de>
7 years ago