1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 03:22:48 -05:00

Merge recent misc fixes from 'pre-0.77'.

This commit is contained in:
Jacob Nevins
2022-05-19 10:57:35 +01:00
18 changed files with 108 additions and 19 deletions

View File

@ -232,6 +232,13 @@ static void proxy_negotiate(ProxySocket *ps)
ps->proxy_nodelay, ps->proxy_keepalive,
&ps->plugimpl);
ps->pn->reconnect = false;
/* If the negotiator has asked us to reconnect, they are
* expecting that on the next call their input queue will
* consist entirely of data from the _new_ connection, without
* any remaining data buffered from the old one. (If they'd
* wanted the latter, they could have read it out of the input
* queue before asking us to close the connection.) */
bufchain_clear(&ps->pending_input_data);
}
while (bufchain_size(&ps->output_from_negotiator)) {