Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 49846 invoked by uid 500); 25 Jun 2002 23:13:54 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 49832 invoked from network); 25 Jun 2002 23:13:53 -0000 X-Authentication-Warning: cancer.clove.org: jerenk set sender to jerenkrantz@apache.org using -f Date: Tue, 25 Jun 2002 16:14:00 -0700 From: Justin Erenkrantz To: dev@httpd.apache.org, dev@subversion.tigris.org Subject: Re: [PATCH] httpd discards body too soon Message-ID: <20020625161400.D2953@apache.org> Mail-Followup-To: Justin Erenkrantz , dev@httpd.apache.org, dev@subversion.tigris.org References: <200206252027.g5PKRPO92976@newton.ch.collab.net> <20020625144939.A2953@apache.org> <858z533u45.fsf@newton.ch.collab.net> <20020625152128.C2953@apache.org> <20020625155551.Q19115@lyra.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020625155551.Q19115@lyra.org>; from gstein@lyra.org on Tue, Jun 25, 2002 at 03:55:52PM -0700 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Tue, Jun 25, 2002 at 03:55:52PM -0700, Greg Stein wrote: > What do you think of the tri-state solution? > > It *does* mean that we might discard a body, but then later find out we > didn't need to. However, it would remove an accidental non-discard. That'd work. I believe there are some modules that are expecting that 0 is closed. Hmm. Oh, joy: /** Are we going to keep the connection alive for another request? * -1 fatal error, 0 undecided, 1 yes */ signed int keepalive:2; Sounds like we just need an explicit no here. Or, we can use the -1 to mean 'no.' However, a lot of places are using 0 for no - that behavior looks incorrect. -- justin