]> git.feebdaed.xyz Git - 0xmirror/openssh-portable.git/commit
upstream: Activate UnusedConnectionTimeout only after last channel
authordjm@openbsd.org <djm@openbsd.org>
Thu, 30 Oct 2025 03:19:54 +0000 (03:19 +0000)
committerDamien Miller <djm@mindrot.org>
Thu, 30 Oct 2025 03:20:53 +0000 (14:20 +1100)
commit4f3e65bda22b65dc5fff82df1e97af07456fed42
tree22db7df25ac07d9aede55a1c7bf2ba9052ef76ba
parente7f5928ef1c8e8c725bdca9cdd6b80e77fe774ac
upstream: Activate UnusedConnectionTimeout only after last channel

has closed. Previously UnusedConnectionTimeout could fire early after a
ChannelTimeout.

This was not a problem for the OpenSSH client because it terminates
once all channels have closed but could cause problems for other
clients (e.g. API clients) that do things differently.

bz3827; ok dtucker

OpenBSD-Commit-ID: ff2e4607cbd4e600de3c8a5ece3b0e4bb641ed8f
serverloop.c