mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-05-28 23:34:49 -05:00
Reinstate setting of ssh->session_started.
When PuTTY is configured to display stderr diagnostics from the proxy command but only until the main session starts, this flag is how the SSH backend indicates the point at which the session starts. It was previously set during version-string parsing, and I forgot to find a new home for it when I moved the version string parsing out into the new verstring BPP module in commit af8e526a7. Now reinstated, at the point where that BPP gets back to us and tells us what protocol version it's chosen.
This commit is contained in:
parent
e1b52ae721
commit
361efee621
8
ssh.c
8
ssh.c
@ -928,6 +928,14 @@ static void ssh_got_ssh_version(struct ssh_version_receiver *rcv,
|
||||
Ssh ssh = FROMFIELD(rcv, struct ssh_tag, version_receiver);
|
||||
BinaryPacketProtocol *old_bpp;
|
||||
|
||||
/*
|
||||
* This is as good a time as any to stop printing proxy-command
|
||||
* diagnostics in the terminal window, on the assumption that the
|
||||
* proxy command must by now have made a sensible connection and
|
||||
* the real session output will start shortly.
|
||||
*/
|
||||
ssh->session_started = TRUE;
|
||||
|
||||
/*
|
||||
* Queue an outgoing-data run: if the version string has been sent
|
||||
* late rather than early, it'll still be sitting on our output
|
||||
|
Loading…
x
Reference in New Issue
Block a user