NetBSD/usr.bin/ftp
lukem 55c16b26b6 add timeout for ssl connect
Implement a timeout for SSL connection setup, using -q QUITTIME,
defaulting to 60 seconds.
SSL_connect(3) (unlike connect(2)) doesn't timeout by default.

Adapt ssl error messages destination: if unexpected error
from local API, use warn()/warnx() to stderr;
if expected error from a network operation (e.g., timeouts),
use fprintf to ttyout (which might be stdout).

Consistently use ftp_poll() instead of select();
ssl.c (using select()) was added 7 years after the
previous uses of select() were converted to poll().

Check EAGAIN as well as existing EINTR error from ftp_poll(),
for portability.
2023-05-05 15:46:06 +00:00
..
Makefile
cmds.c
cmdtab.c Add option sslnoverify to control validation of SSL certificates. 2023-02-25 12:07:25 +00:00
complete.c
domacro.c
extern.h Add option sslnoverify to control validation of SSL certificates. 2023-02-25 12:07:25 +00:00
fetch.c Add option sslnoverify to control validation of SSL certificates. 2023-02-25 12:07:25 +00:00
ftp.1 ftp(1): better mark up for url vs cd example 2023-02-25 17:37:09 +00:00
ftp.c add timeout for ssl connect 2023-05-05 15:46:06 +00:00
ftp_var.h
main.c Add option sslnoverify to control validation of SSL certificates. 2023-02-25 12:07:25 +00:00
progressbar.c
progressbar.h
ruserpass.c
ssl.c add timeout for ssl connect 2023-05-05 15:46:06 +00:00
ssl.h
util.c add timeout for ssl connect 2023-05-05 15:46:06 +00:00
version.h add timeout for ssl connect 2023-05-05 15:46:06 +00:00