httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@apache.org>
Subject Re: [PATCH] httpd discards body too soon
Date Tue, 25 Jun 2002 23:14:00 GMT
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

Mime
View raw message