Module Name: src Committed By: martin Date: Mon Jun 14 11:45:49 UTC 2021
Modified Files: src/usr.bin/ftp [netbsd-9]: ftp.c Log Message: Pull up following revision(s) (requested by lukem in ticket #1293): usr.bin/ftp/ftp.c: revision 1.172 set SO_KEEPALIVE on control connection Attempt to prevent timeouts of the control connection by setting SO_KEEPALIVE. This matches the equivalent behaviour in ftpd. Note: This is a much simpler change than adding a background polling event to invoke "STAT" (or "NOOP") on the control connection during a transfer. (It's unclear from RFC 959 whether "NOOP" is even permitted during a transfer). PR bin/56129 To generate a diff of this commit: cvs rdiff -u -r1.168.2.3 -r1.168.2.4 src/usr.bin/ftp/ftp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.