зеркало из https://github.com/github/putty.git
Stop saying we'll try compression later, if it is later.
On the post-userauth rekey, when we're specifically rekeying in order to turn on delayed compression, we shouldn't write the Event Log "Server supports delayed compression; will try this later" message that we did in the original key exchange. At this point, it _is_ later, and we're about to turn on compression right now!
This commit is contained in:
Родитель
d4304f1b7b
Коммит
20e8fdece3
3
ssh.c
3
ssh.c
|
@ -5731,7 +5731,8 @@ static void do_ssh2_transport(void *vctx)
|
|||
}
|
||||
if ((i == KEXLIST_CSCOMP || i == KEXLIST_SCCOMP) &&
|
||||
in_commasep_string(alg->u.comp->delayed_name,
|
||||
str.ptr, str.len))
|
||||
str.ptr, str.len) &&
|
||||
!s->userauth_succeeded)
|
||||
s->pending_compression = TRUE; /* try this later */
|
||||
}
|
||||
bombout(("Couldn't agree a %s (available: %.*s)",
|
||||
|
|
Загрузка…
Ссылка в новой задаче