[Bug 2918] ssh ConnectTimeout is obeyed only on 1st ConnectionAttempt

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Feb 1 14:27:33 AEDT 2019


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

Darren Tucker <dtucker at dtucker.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at dtucker.net

--- Comment #1 from Darren Tucker <dtucker at dtucker.net> ---
Comparing sshconnect.c between the two versions, I think I see what
happened: 7.6 added waitrfd(), which writes the remaining timeout back
to timeoutp.  After the 1st timeout, this does not get reset on the 2nd
and subsequent connection attempts, and a timeout of 0 means "no
timeout".

-- 
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