Dag-Erling Smørgrav 2a7daafe67 Fix two issues related to the use of SIGINFO in fetch(1) to display
progress information.  The first is that fetch_read() (used in the HTTP
code but not the FTP code) can enter an infinite loop if it has previously
been interrupted by a signal.  The second is that when it is interrupted,
fetch_read() will discard any data it may have read up to that point.
Luckily, both bugs are extremely timing-sensitive and therefore difficult
to trigger.

PR:		bin/153240
Submitted by:	Mark <markjdb@gmail.com>
MFC after:	3 weeks
2012-01-18 15:13:21 +00:00
..
2011-12-23 00:31:26 +00:00
2011-11-06 20:30:21 +00:00
2011-11-06 08:13:58 +00:00
2010-11-19 10:18:58 +00:00
2011-11-06 08:14:16 +00:00
2011-11-06 08:14:22 +00:00
2011-12-30 11:02:40 +00:00
2012-01-12 22:12:42 +00:00
2011-11-06 08:14:51 +00:00
2011-11-07 09:42:22 +00:00
2010-02-09 10:47:44 +00:00
2011-12-30 11:02:40 +00:00
2012-01-15 17:01:28 +00:00
2011-11-06 09:09:45 +00:00
2011-12-30 11:02:40 +00:00
2011-12-30 11:02:40 +00:00
2011-01-26 06:36:14 +00:00
2011-06-21 20:36:10 +00:00
2011-06-18 13:56:33 +00:00
2011-12-30 11:02:40 +00:00
2011-12-30 11:02:40 +00:00
2010-03-02 16:58:04 +00:00
2011-12-30 11:02:40 +00:00
2011-10-16 08:04:43 +00:00
2011-12-30 11:02:40 +00:00
2011-12-30 11:02:40 +00:00
2010-03-22 21:19:17 +00:00
2011-05-25 14:13:53 +00:00
2011-05-13 09:55:48 +00:00
2010-10-19 00:01:53 +00:00
2011-12-30 11:02:40 +00:00
2010-06-02 10:20:23 +00:00
2011-10-14 07:28:39 +00:00
2011-12-30 11:02:40 +00:00
2012-01-12 20:30:20 +00:00
2011-12-23 00:29:01 +00:00
2011-12-30 11:02:40 +00:00
2011-11-06 08:16:35 +00:00
2010-12-20 08:47:43 +00:00
2011-11-06 08:17:05 +00:00
2011-10-16 09:09:33 +00:00
2011-11-06 08:17:35 +00:00
2011-12-30 11:02:40 +00:00
2011-12-30 11:02:40 +00:00
2011-11-06 08:17:53 +00:00
2011-12-30 11:02:40 +00:00
2011-11-06 08:18:42 +00:00
2011-11-06 08:18:47 +00:00
2011-11-06 08:19:00 +00:00
2011-03-24 13:52:59 +00:00
2011-12-30 11:02:40 +00:00
2011-10-16 08:04:43 +00:00
2011-12-30 11:02:40 +00:00
2010-06-19 16:24:55 +00:00
2012-01-13 15:40:49 +00:00