Now
MAIN commitmail json YAML
src/usr.bin/ftp/ftp.c@1.171
/
diff
/
nxr@1.171
src/usr.bin/ftp/progressbar.c@1.24 / diff / nxr@1.24
src/usr.bin/ftp/progressbar.h@1.9 / diff / nxr@1.9
src/usr.bin/ftp/ssl.c@1.9 / diff / nxr@1.9
src/usr.bin/ftp/version.h@1.92 / diff / nxr@1.92
src/usr.bin/ftp/progressbar.c@1.24 / diff / nxr@1.24
src/usr.bin/ftp/progressbar.h@1.9 / diff / nxr@1.9
src/usr.bin/ftp/ssl.c@1.9 / diff / nxr@1.9
src/usr.bin/ftp/version.h@1.92 / diff / nxr@1.92
ftp: don't use restartable signals
Refactor to not rely upon restartable signals (SA_RESTART),
possibly fixing intermittent failures with -q QUITTIME.
ftp transfers: handle EINTR/EAGAIN in copy_bytes(),
instead of relying upon restartable signals.
http/https transfers: Explicitly print an error similar to
progressmeter() when timing-out for -Q QUITTIME in fetch_wait(),
and set errno to ETIMEDOUT so that the warn() in fetch_url()
prints a more accurate error message.
PR/55857
Refactor to not rely upon restartable signals (SA_RESTART),
possibly fixing intermittent failures with -q QUITTIME.
ftp transfers: handle EINTR/EAGAIN in copy_bytes(),
instead of relying upon restartable signals.
http/https transfers: Explicitly print an error similar to
progressmeter() when timing-out for -Q QUITTIME in fetch_wait(),
and set errno to ETIMEDOUT so that the warn() in fetch_url()
prints a more accurate error message.
PR/55857