diff options
author | lukem <lukem@NetBSD.org> | 2021-01-06 04:43:14 +0000 |
---|---|---|
committer | lukem <lukem@NetBSD.org> | 2021-01-06 04:43:14 +0000 |
commit | c3cbd3311842130ff3f210cdf3288820b7dc9f4f (patch) | |
tree | 9853772e2279c381a7420af3278b9492697273ba /Makefile | |
parent | 9994951c25629f7a97332dc2eb2b7bf2af5ffb93 (diff) | |
download | bsd-progress-c3cbd3311842130ff3f210cdf3288820b7dc9f4f.tar.gz bsd-progress-c3cbd3311842130ff3f210cdf3288820b7dc9f4f.tar.zst bsd-progress-c3cbd3311842130ff3f210cdf3288820b7dc9f4f.zip |
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
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions