Commit Graph

90 Commits (cbf80ecc761f4990e39ac4b6066601e40fc9c131)

Author SHA1 Message Date
Alexey Galakhov 01a9211a84 Move mask functions into a separate file 9 years ago
Alexey Galakhov d29e3948d2 Add Debug, Display and Error to HandshakeError 9 years ago
Alexey Galakhov 24f3bb7807 Add the possibility to pass extra request headers. 9 years ago
Alexey Galakhov 66e30b2767 Return close frame with ConnectionClosed 9 years ago
Alexey Galakhov 8df6bdbeb0 Add Display to CloseFrame and CloseCode 9 years ago
Alexey Galakhov bd37c71609 Replace tuple with CloseFrame struct 9 years ago
Ran Benita 8e49bea00f Fix InputBuffer::reserve() to not be a no-op 9 years ago
Ran Benita be834ac261 Replace unsafe endianness code with byteorder functions 9 years ago
Ran Benita ae30b8cd76 Apply a couple trivial clippy suggestions 9 years ago
Ran Benita 8955b55e62 Simplify concatenation code using slice::concat 9 years ago
Ran Benita 76e80ca9a3 Only allocate error message if the error occurred 9 years ago
Ran Benita 3c600aa138 Speed up apply_mask() - part 2 9 years ago
Ran Benita dd96d3b9d4 Speed up apply_mask() 9 years ago
Ran Benita ea4b5e4df0 Remove unnecessary transmute in generate_mask() 9 years ago
Alexey Galakhov e0eecd28b1 Refactor TLS handling 9 years ago
Alexey Galakhov e2b7b73e72 Improve documentation. 9 years ago
Alexey Galakhov b057cf0096 Update for the version 0.7 of the utf8 crate. 9 years ago
Alexey Galakhov 53aa24b06b Fix warnings 9 years ago
Alexey Galakhov 037dea1f8e Add possibility to send pings 9 years ago
Alexey Galakhov ac580a666b Reexport useful components 9 years ago
Alexey Galakhov 06a39b4962 protocol: add get_ref() and get_mut() 9 years ago
Alexey Galakhov 9e00140e19 trivial: debug logging cleanup 9 years ago
Alexey Galakhov c6d3dd6404 refactor: fix unit tests for new API 9 years ago
Alexey Galakhov b7557f1baa refactor: make handshake completely async 9 years ago
Alexey Galakhov 334ceab2b0 protocol: less strict trait requirements 9 years ago
Alexey Galakhov 604e2021ce protocol: add write_pending() functions 9 years ago
Alexey Galakhov e6b658d94f handshake: add the ability to iterate over headers. 9 years ago
Alexey Galakhov d27f768599 protocol: fix infinite loop in non-blocking mode 9 years ago
Daniel Abramov 93843a1290 Fix `WouldBlock` error handling for the handshakes 9 years ago
Daniel Abramov 0938a17552 Move `no_block()` related stuff into seperate mod 9 years ago
Alexey Galakhov 3bb4331f4f protocol: fix bug with async handling 9 years ago
Alexey Galakhov de1fb673b2 error: correct UTF-8 error handling 9 years ago
Alexey Galakhov 46bfd81539 protocol: correct non-blocking handling 9 years ago
Alexey Galakhov 7dccc51277 server: implement server 9 years ago
Alexey Galakhov 4714773370 close: implement complete close handshake 9 years ago
Alexey Galakhov 422f7bbc45 trivial: move MIN_READ to input_buffer 9 years ago
Alexey Galakhov e63f594a14 Initial commit, mostly working client 9 years ago