Re: [RFC 2/2] Add Git-aware CGI for Git-aware smart HTTP transport
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Aug 3, 2008, 21:25 UTC
- Message-ID
- <20080803212516.GB31762@spearce.org>
- In-Reply-To
- <489598C5.6060508@zytor.com>
"H. Peter Anvin" <hpa@zytor.com> wrote:
Show 8 quoted lines
> 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.