freebsd-nq/usr.sbin/portsnap
Colin Percival 04419f3b80 Set SO_NOSIGPIPE on sockets used by phttpget. Without this, if
(1) phttpget is attempting to download enough files that it can't send
all the requests at once, and
(2) the remote server forcibly closes the connection, resulting in RST
packets being sent,
phttpget will receive a SIGPIPE and terminate without downloading all
of the files.

This is probably responsible for a number of hard-to-reproduce errors
with portsnap and freebsd-update.

MFC after:	3 days
2009-04-03 21:13:18 +00:00
..
make_index
phttpget Set SO_NOSIGPIPE on sockets used by phttpget. Without this, if 2009-04-03 21:13:18 +00:00
portsnap
Makefile
Makefile.inc