Add flow control in AsyncSSH redirection to StreamWriter objects
This commit adds support for flow control when an asyncio.StreamWriter is passed to AsyncSSH's process redirect feature. Previously, writes were allowed indefinitely, potentially building up a large buffer in memory if data was being sent faster than it was being consumed. Thanks go to Benjy Wiener for reporting this issue and supplying a test script to reproduce it.
R
Ron Frederick committed
f2020ed33e6c91bd29f37b2b900401a6830a518f
Parent: c3dc869