[Bug 2718] SFTP idle timeout

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Dec 29 09:41:04 AEDT 2018


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

Mike Frysinger <vapier at gentoo.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vapier at gentoo.org

--- Comment #3 from Mike Frysinger <vapier at gentoo.org> ---
the select() syscall has a timeout option on it that is currently set
to NULL.  why not initialize that to the timeout you want and check the
return values in the loop for that condition ?  then you don't need to
muck around with signal/alarm.

you should update the usage string too so `sftp-server -h` includes the
new option.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list