Pure-Rust asynchronous SSH library, both client and server

Fixing a bug with tokio::select

Each time tokio::select polled the cipher, Thrussh attempted to read the length of the packet, consuming 4 bytes each times. For packets that didn't arrive in one TCP packet, this resulted in incorrect packet length, and a stall of the protocol.

Created by  pmeunier  on November 23, 2020
XEKZBXNINGU2NELIKOQXWY5SS4MOVEVXX3QWQUSN42X7V46CQDKQC
In channels
main
tokio-0.2
Change contents