mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-04-25 03:02:12 +00:00
* secio: keep ciphertext if start_send is not ready Otherwise ciphertext may be thrown away and once sent, the cipher states have diverged, resulting in nonsense messages on decryption side. * Also attempt to send pending data `Sink::close`. * Inline `send_pending`.