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
In channels
Change contents