]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Now that the HTTP code supports timeouts, we don't need to use alarm()
authorDag-Erling Smørgrav <des@FreeBSD.org>
Wed, 12 Jul 2000 11:02:01 +0000 (11:02 +0000)
committerDag-Erling Smørgrav <des@FreeBSD.org>
Wed, 12 Jul 2000 11:02:01 +0000 (11:02 +0000)
commitef50a72c926b6b1a69d9e235cd128c51af472ebf
tree384fb695c9eaad8b4067b27e5c98afaddd88cf02
parentd73dd62871c0675c4d50e1440d7530eadce34bd5
Now that the HTTP code supports timeouts, we don't need to use alarm()
around the call to fetchStat().
Catch SIGINT, and rework the signal handling so it doesn't skimp on the
cleanup after a timeout or interrupt. Also, don't just bail out after a
timeout; there may be more files to fetch.
usr.bin/fetch/fetch.c