CVSROOT: /cvs Module name: src Changes by: mill...@cvs.openbsd.org 2022/09/15 06:47:10
Modified files: usr.bin/ftp : extern.h fetch.c ftp.1 ftp.c util.c Log message: Use non-blocking connect() with ppoll() and timeout instead of alarm(). For hosts with multiple IP addrs this makes it possible to fall over from an unresponsive IP to another. This also replaces the other connect(2) + connect_wait() calls with timed_connect() so the -w option now works for more that just http. OK sthen@ deraadt@