Playing around with pijul while trying to extend thrussh a bit

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
J4ZEHJHG4NGTGJPU5YMBW7IRTVZ7WOHIWI45FGM3Q3A7JHDTTXQAC
Change contents