Received: by taz.hyperreal.com (8.8.3/V2.0) id XAA15181; Sun, 24 Nov 1996 23:09:10 -0800 (PST) Received: from plato.alameda-coe.k12.ca.us by taz.hyperreal.com (8.8.3/V2.0) with SMTP id XAA15177; Sun, 24 Nov 1996 23:09:07 -0800 (PST) Received: from pappilloma.wwebsvs.com by plato.alameda-coe.k12.ca.us with smtp (Smail3.1.29.1 #5) id m0vRv44-000OaZC; Sun, 24 Nov 96 23:02 PST Received: from ace.nueva.pvt.k12.ca.us by pappilloma.wwebsvs.com (SMI-8.6/SMI-SVR4) id WAA00467; Sun, 24 Nov 1996 22:08:01 -0800 Received: from localhost by ace.nueva.pvt.k12.ca.us with SMTP (1.37.109.20/15.5+ECS 3.3+HPL1.1) id AA209765715; Sun, 24 Nov 1996 23:08:35 -0800 Date: Sun, 24 Nov 1996 23:08:35 -0800 (PST) From: Alexei Kosut To: new-httpd@hyperreal.com Subject: Re: what to do about CGI and chunked In-Reply-To: <9611242246.aa20411@paris.ics.uci.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com On Sun, 24 Nov 1996, Roy T. Fielding wrote: > > 1) The calling module really shouldn't set anything in the request > > directly. This is, IMHO, just a bad idea. The read_body thing should > > be an argument to setup_client_block. > > grump... that's how I had it at first, but switched so as not to disrupt > the existing call interface. I'll switch back. The "existing" interface doesn't exist - it was made up a month or so ago, and only appears in 1.2-dev versions of Apache. [re a buffer size of 1] > I'll look into it. Off-hand, the only way to support a 1 char buffer > with the REQUEST_CHUNKED_PASS option is to push the extra character > back onto the input BUFF. Hmm. Well, we may have to do that. Or keep the extra two chars around somehow else. OTOH, we could just redefine the function to say that the buffer should be able to hold two more bytes than bufsiz. (or, conversely, that bufsiz should be two more bytes than you really need - the code needs a -2 or +2 in there somewhere either way). -- ________________________________________________________________________ Alexei Kosut The Apache HTTP Server URL: http://www.nueva.pvt.k12.ca.us/~akosut/ http://www.apache.org/