Pure-Rust asynchronous SSH library, both client and server

Flush pending packets after a key re-exchange

This bug was introduced with the semi-recent changes separating the control part from the connection-handling part. After these changes, packets can now be held in a queue while waiting for a window extension or a key re-exchange, but they weren't sent after a rekeying.

Created by  pmeunier  on July 5, 2021
Change contents