[openssh-commits] [openssh] 02/06: upstream commit
git+noreply at mindrot.org
git+noreply at mindrot.org
Sat Aug 12 16:47:35 AEST 2017
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit 42a8f8bc288ef8cac504c5c73f09ed610bc74a34
Author: dtucker at openbsd.org <dtucker at openbsd.org>
Date: Fri Aug 11 04:16:35 2017 +0000
upstream commit
Tweak previous keepalive commit: if last_time + keepalive
<= now instead of just "<" so client_alive_check will fire if the select
happens to return on exact second of the timeout. ok djm@
Upstream-ID: e02756bd6038d11bb8522bfd75a4761c3a684fcc
---
serverloop.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/serverloop.c b/serverloop.c
index 4b8d5ba6..5cc3fc09 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: serverloop.c,v 1.194 2017/08/11 03:58:36 dtucker Exp $ */
+/* $OpenBSD: serverloop.c,v 1.195 2017/08/11 04:16:35 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo at cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -277,7 +277,7 @@ wait_until_can_do_something(int connection_in, int connection_out,
} else if (FD_ISSET(connection_in, *readsetp)) {
last_client_time = now;
} else if (last_client_time != 0 && last_client_time +
- options.client_alive_interval < now) {
+ options.client_alive_interval <= now) {
client_alive_check();
last_client_time = now;
}
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list