Date: Fri, 3 Apr 2009 21:13:18 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/portsnap/phttpget phttpget.c Message-ID: <200904032113.n33LDMsb019447@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cperciva 2009-04-03 21:13:18 UTC FreeBSD src repository Modified files: usr.sbin/portsnap/phttpget phttpget.c Log: SVN rev 190679 on 2009-04-03 21:13:18Z by cperciva 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 Revision Changes Path 1.14 +6 -0 src/usr.sbin/portsnap/phttpget/phttpget.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904032113.n33LDMsb019447>