Commit Graph

60 Commits (a9adb42343df447e74071f55e408966b073f0419)

Author SHA1 Message Date
Adam Bezecny (DHL IT Services) a9adb42343 server_allow_unmasked changed from Option<bool> to bool 4 years ago
Adam Bezecny (DHL IT Services) 0121bf9682 WebSocketConfig extended to allow accepting unmasked client frames 4 years ago
Daniel Abramov 96d9eb75e5 chore: apply `fmt` to the whole project 4 years ago
Daniel Abramov 521f1a0767 clean up the redirect logic a bit 4 years ago
Redrield 60f7b0f024 Fix some code-review issues 4 years ago
Horki 88ff5f371f matches!: use macros; remove unused imports 5 years ago
Naja Melan 9c48226c8f chore: Remove needless closing/opening of the impl block on WebSocketContext. 5 years ago
Naja Melan 1f407f1005 feat: Allow reading the configuration. 5 years ago
Naja Melan d17f749914 doc: be precise about max message sizes. 5 years ago
Alexey Galakhov 6b3423292f trivial: fix clippy warning 5 years ago
Alexey Galakhov 85f211230a websocket: add `can_read()` and `can_write()` 5 years ago
Alexey Galakhov da3acc107e protocol: handle "Connection reset by peer" in closing state 5 years ago
Sebastian Dröge 88760b8b59 Fix various clippy warnings 5 years ago
Sebastian Dröge 7a4779b6f6 Run everything through rustfmt 5 years ago
Naja Melan 17fe7987eb Make use of can_read 6 years ago
Naja Melan 1ee3f342aa Consider remote sending a frame after sending a close frame a protocol error. 6 years ago
Naja Melan 2918eec1b3 No longer accept to send after close 6 years ago
Naja Melan f818322a25 Add some documentation to WebSocket and Error. 6 years ago
Naja Melan 9379ebe47d Don't swallow ping/pong while waiting for close acknowledgement 6 years ago
Naja Melan bf63a71cd1 cleanup unnecessary dereference 6 years ago
Naja Melan 28579b567a Improve WebSocketState interface with Copy, PartialEq, ... 6 years ago
Naja Melan b923ec42c0 Keep processing incoming data even after we have initiated a close handshake. 6 years ago
Artem Vorotnikov cbf80ecc76
Edition 2018, formatting, clippy fixes 6 years ago
Daniel Abramov e2bec4b81f Change the way we return `Err::ConnectionClosed` 6 years ago
Daniel Abramov dbc8bd7b71 Fix issue with hanging server connection 6 years ago
Alexey Galakhov 06308b1b3f close: fix autobahn regression 6 years ago
Alexey Galakhov b8f7d3668e close: refine close semantics 6 years ago
Yusuke Sasaki 828eafd400 extract the context values from `WebSocket` 6 years ago
Daniel Abramov c8c3d6290d Make `Close` part of the `Message` enum 6 years ago
Alexey Galakhov a7e87488c4 config: make config settable at runtime 7 years ago
Alexey Galakhov 9b0a2e0f11 trivial: split public and private impl 7 years ago
Alexey Galakhov e6ebf5ac76 trivial: style fixes 7 years ago
Alexey Galakhov 3772aaf163 chore: introduce frame size limit 7 years ago
Alexey Galakhov 50d1371e52 frame: cleanup frame API 7 years ago
Alexey Galakhov 20242d19f7 config: protocol: add message size limiting 7 years ago
Alexey Galakhov a4f885f69f protocol: improve write responsibility 7 years ago
Alexey Galakhov cb671e1abc trivial: improve documentation 7 years ago
Daniel Abramov 00303fa60c Make the websocket configurable 7 years ago
Teddy DeRego 5742c822ee WebSocket::write_message will no longer buffer unlimited messages - it will only buffer a configurable number of outbound messages. Needed for snapview/tokio-tungstenite#35. 7 years ago
Sean Schwartz 66d2c15f2d Derive Debugs 7 years ago
Alex Crichton 9f6f42766e Add `Ping` and `Pong` variants to `Message` 8 years ago
Alexey Galakhov e3c0ec30c8 Fix close handling while read. 8 years ago
Denis Andrejew 624f1dec1a improve doc in protocol/mod.rs 8 years ago
Alexey Galakhov 66e30b2767 Return close frame with ConnectionClosed 8 years ago
Alexey Galakhov bd37c71609 Replace tuple with CloseFrame struct 8 years ago
Ran Benita ae30b8cd76 Apply a couple trivial clippy suggestions 8 years ago
Alexey Galakhov e2b7b73e72 Improve documentation. 8 years ago
Alexey Galakhov 53aa24b06b Fix warnings 8 years ago
Alexey Galakhov 037dea1f8e Add possibility to send pings 8 years ago
Alexey Galakhov 06a39b4962 protocol: add get_ref() and get_mut() 8 years ago