[Bug 1330] RFE: 'ControlPersist' support -- automatically fork and leave ControlMaster behind as a daemon
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Sat Jun 5 12:21:51 EST 2010
https://bugzilla.mindrot.org/show_bug.cgi?id=1330
--- Comment #11 from David Woodhouse <dwmw2 at infradead.org> ---
(In reply to comment #10)
> I think this needs to be revised slightly further though, to allow a
> timeout of zero - i.e. close the connection immediately when the last
> client exits.
That's easily done...
--- readconf.c~ 2010-06-05 03:08:33.000000000 +0100
+++ readconf.c 2010-06-05 03:20:37.000000000 +0100
@@ -906,7 +906,7 @@ parse_int:
value = 0;
else if (strcmp(arg, "yes") == 0 || strcmp(arg, "true") == 0)
value = 1;
- else if ((value2 = convtime(arg)) > 0)
+ else if ((value2 = convtime(arg)) >= 0)
value = 1;
else
fatal("%.200s line %d: Bad ControlPersist argument.",
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
More information about the openssh-bugs
mailing list