Download: Stable · Pre-release · Snapshot | Docs | Changes | Wishlist
If an SSH connection is throttled ("frozen"), incoming data can end up
ssh->queued_incoming_data and not processed
until more data arrives from the network (or ever, if the socket has
closed in the meantime), since that buffer is only examined when new
data arrives. In general, queued data may be being processed rather
later than it could be.
For instance, cat'ing a large text file might hang, only to resume when a key is pressed (which will result in outgoing and then incoming traffic).
There's been a report that this shows up in real life when receiving
lots of data down an SSH-1 connection, where
Another likely report of this problem:
ssh_set_frozen() should probably signal something, but
I'm not sure enough of the control flow to know quite what.
(This is already done in some places, e.g., ssh_dialog_callback().)