From: Shawn O. Pearce Date: Sun, 03 Aug 2008 21:25:16 GMT Subject: Re: [RFC 2/2] Add Git-aware CGI for Git-aware smart HTTP transport Message-ID: <20080803212516.GB31762@spearce.org> In-Reply-To: <489598C5.6060508@zytor.com> "H. Peter Anvin" wrote: > Shawn O. Pearce wrote: >> +#define hex(a) (hexchar[(a) & 15]) >> +static void chunked_write(const char *fmt, ...) >> +{ > > Maybe I am slightly confused, but I thought handling HTTP chunking for > HTTP/1.1+ clients was usually done by Apache above the level of the CGI > script? You may be right. Apache undoes the chunking during a POST before feeding the data to the CGI script. If we can omit this mess of code from git-http-backend that's a good thing. Thanks for the sanity check. -- Shawn.