Received: (from majordom@localhost) by hyperreal.com (8.8.5/8.8.4) id WAA28051; Fri, 25 Apr 1997 22:26:50 -0700 (PDT) Received: from tripod.tripod.com (nate@tripod.tripod.com [208.7.131.8]) by hyperreal.com (8.8.5/8.8.4) with SMTP id WAA28040 for ; Fri, 25 Apr 1997 22:26:46 -0700 (PDT) Received: (from nate@localhost) by tripod.tripod.com (8.6.12/8.6.9) id BAA02865 for new-httpd@apache.org; Sat, 26 Apr 1997 01:16:59 -0400 From: Nathan J Kurz Message-Id: <199704260516.BAA02865@tripod.tripod.com> Subject: Re: [PATCH] Handle write errors when no SIGPIPE To: new-httpd@apache.org Date: Sat, 26 Apr 1997 01:16:58 -0400 (EDT) In-Reply-To: <9704252107.aa19838@paris.ics.uci.edu> from "Roy T. Fielding" at Apr 25, 97 09:07:21 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org > Nathan's comments caused me to revisit the code that I had stared at > for so long looking for an EPIPE. I don't know why I missed it the first > time, but the below patch will fix this problem. Note that it is needed > for all systems, since our current code will silently toss data if an > interim write fails for any reason (very bad). It will also be a huge > load reducer for sites sending large messages to impatient users. > > .....Roy Yes, this is exactly the patch that is needed. nate@tripod.com http://www.tripod.com ps. I got confirmation from Sun that the absence of a SIGPIPE on Solaris 2.5.1 is a bug and that it is scheduled to be fixed in the next release.