[Bug 2265] ServerAlive{Interval, CountMax} ignored if using an active -R or -L tunnel

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Jun 26 15:31:16 AEST 2020


https://bugzilla.mindrot.org/show_bug.cgi?id=2265

--- Comment #4 from Darren Tucker <dtucker at dtucker.net> ---
Comment on attachment 3417
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3417
ServerAliveInterval doesn't work if client keeps trying to send data

Looks mostly ok, there's a couple of long lines and one comment:

>+		timeout_secs = server_alive_time - now;
>+		if (timeout_secs < 0)
>+			timeout_secs = 0;

This can be a MAXIMUM(..) which is shorter and consistent with the rest
of the code.

I'll attach an updated patch shortly.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list