Commit Graph

130 Commits (bbaa48b4d6cbc551232f27f00bdc5cc32df78525)

Author SHA1 Message Date
Alexey Galakhov e6ebf5ac76 trivial: style fixes 6 years ago
Alexey Galakhov d2e3602170 frame: fix partial write 6 years ago
Alexey Galakhov 3772aaf163 chore: introduce frame size limit 6 years ago
Alexey Galakhov 50d1371e52 frame: cleanup frame API 6 years ago
Alexey Galakhov 75aa0d54f3 refactor: parse header separately from payload 6 years ago
Alexey Galakhov 20242d19f7 config: protocol: add message size limiting 6 years ago
Alexey Galakhov a4f885f69f protocol: improve write responsibility 6 years ago
Alexey Galakhov e4a52cde05 mask: update for actual Rust version 6 years ago
Alexey Galakhov cb671e1abc trivial: improve documentation 6 years ago
Ran Benita 4cfe9a2be1 frame: eliminate an unsafe when reading message data into the buffer 6 years ago
Alexey Galakhov fdb1a0ed50 frame: reject bad opcodes early 6 years ago
Alexey Galakhov 9bd65feaeb frame: reject frames that are too big for the RAM 6 years ago
Alexey Galakhov 977c6e7c7a refactor: remove transmute in favor of safe code 6 years ago
Alexey Galakhov c0cde68999 frame: fix integer overflow 6 years ago
Daniel Abramov 3a58069db2 Create helpers for config-like functions 6 years ago
Ryan Leckey 51e7ba3f39 Switch from sha1 to sha-1 6 years ago
Ryan Leckey ef8e41f63f prepare for native-tls 0.2 6 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
Alexey Galakhov 7dc2be7eab Update for Rust 1.23 7 years ago
Alexey Galakhov 6f8c4e7034 Use input_buffer as separate crate. 7 years ago
Alexey Galakhov 3091d11566 callback static dispatch 7 years ago
Daniel Abramov c4013ccad3 Improve the `handshake::client::Request` structure 7 years ago
Daniel Abramov 5982d4094d Update README and examples 7 years ago
Daniel Abramov 44a15c9eab Implements #6 (client/server headers access) 7 years ago
Daniel Abramov f34c488217 Add basic support for examining headers (#6) 7 years ago
Alex Crichton 9f6f42766e Add `Ping` and `Pong` variants to `Message` 7 years ago
Alexey Galakhov 6faf90cd7b trivial: remove commented-out code 8 years ago
Alexey Galakhov bd9ac9673e chore: cleanup docs and warnings, strict docs 8 years ago
Alexey Galakhov 686bc51b84 stream: set TCP_NODELAY on connect 8 years ago
Alexey Galakhov f696771069 Generalize connect() interface. 8 years ago
Alexey Galakhov e3c0ec30c8 Fix close handling while read. 8 years ago
Alexey Galakhov 22f7df0b46 Fix possible deadlock in handshake. 8 years ago
Denis Andrejew 624f1dec1a improve doc in protocol/mod.rs 8 years ago
Alexey Galakhov 6d10b40215 Flush stream after sending message 8 years ago
Alexey Galakhov 3abe419e98 Fix fast masking of unaligned data 8 years ago
Alexey Galakhov 01a9211a84 Move mask functions into a separate file 8 years ago
Alexey Galakhov d29e3948d2 Add Debug, Display and Error to HandshakeError 8 years ago
Alexey Galakhov 24f3bb7807 Add the possibility to pass extra request headers. 8 years ago
Alexey Galakhov 66e30b2767 Return close frame with ConnectionClosed 8 years ago
Alexey Galakhov 8df6bdbeb0 Add Display to CloseFrame and CloseCode 8 years ago
Alexey Galakhov bd37c71609 Replace tuple with CloseFrame struct 8 years ago
Ran Benita 8e49bea00f Fix InputBuffer::reserve() to not be a no-op 8 years ago
Ran Benita be834ac261 Replace unsafe endianness code with byteorder functions 8 years ago
Ran Benita ae30b8cd76 Apply a couple trivial clippy suggestions 8 years ago
Ran Benita 8955b55e62 Simplify concatenation code using slice::concat 8 years ago
Ran Benita 76e80ca9a3 Only allocate error message if the error occurred 8 years ago
Ran Benita 3c600aa138 Speed up apply_mask() - part 2 8 years ago
Ran Benita dd96d3b9d4 Speed up apply_mask() 8 years ago