From 78e71de13e688b0aef0128115c0f23d5d52b5aa7 Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 12 May 2012 17:00:54 +0000 Subject: [PATCH] When we are asked to unthrottle an SSH connection (by the front end calling back->unthrottle), we should immediately call ssh_process_queued_incoming_data to handle the SSH packets that have been saved for later functioning while we were throttled. Otherwise, they'll sit there unhandled until the next call to ssh_gotdata, which might not be for ages if the server thinks it's waiting for us. git-svn-id: svn://svn.tartarus.org/sgt/putty@9523 cda61777-01e9-0310-a592-d414129be87e --- ssh.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ssh.c b/ssh.c index 505b4ae1..750017f6 100644 --- a/ssh.c +++ b/ssh.c @@ -10037,6 +10037,12 @@ static void ssh_unthrottle(void *handle, int bufsize) } } } + + /* + * Now process any SSH connection data that was stashed in our + * queue while we were frozen. + */ + ssh_process_queued_incoming_data(ssh); } void ssh_send_port_open(void *channel, char *hostname, int port, char *org) -- 2.11.0