Commit Graph

17 Commits (master)

Author SHA1 Message Date
Avril 271e861169
Started BufferedEsock: A task-based ``wrapper" around an ESock that buffers its input and output.
3 years ago
Avril f8b6e3a0c6
This bug may make ESock **unusable** in this project entirely. Individual `SerializedMessage` sending/receiving _might_ work reliably since that is based on rigid size communication, but streamed data may be untenable. Any desync in streaming buffers causes complete failure.
3 years ago
Avril 2a3d9e0c3a
For some reaosn, any difference between exact bytes written and read (even if they are identical, just spread over different `write` calls) causes the reading half to produce garbage?
3 years ago
Avril e5fce0a045
XXX: ESock doesn"t work! :/ The first encrypted write/read succeeds, but any subsequent calls to write/read produce garbage...
3 years ago
Avril 2a49d17528
ESock tested: Exchange OK, Session OK, Encrypted + Unencrypted reads + writes OK. All works (so far)! :^)
3 years ago
Avril dc307c6d06
ESock: Added `split()` and `unsplit()`
3 years ago
Avril edeb2ffee7
Added AsyncWrite and AsyncRead impls to `ESock<W,R>`
3 years ago
Avril b6b3bb0fd5
Improved error messages for `set_encrypted_read()` and `exchange()`.
3 years ago
Avril 087a076b40
Added better error messages and context to `ESockSessionKey::from_ciphertext()`
3 years ago
Avril 3991d82f93
Added better error messages and context to `ESockSessionKey::to_ciphertext()`
3 years ago
Avril 3a5331b5f1
Added `bin` module for byte slice concat.
3 years ago
Avril 0f7f22f290 ESock: Added `exchange_unpin()`. Start `Exchange` future for `exchange()` method that will work on non-Unpin types too. (Requires specific implemented future.)
3 years ago
Avril 7f44c83ce3
Added AsyncSource to ESock<W, R>
3 years ago
Avril d349c018c2
Using AsyncSource instead of dump Duplex hack.
3 years ago
Avril 7f8acbba7f
Bumped version of `chacha20stream` to 2.0: Added support for `Read` and `AsyncRead` en/decryption.
3 years ago
Avril 7216f0f8de
Added `ReverseSink<R>`, temporary type for handling reads (chacha20stream currently only has a wrapper type for writes.)
3 years ago
Avril 62f3c384b2
Start `enc` socket wrapper
3 years ago