httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@gonzo.ben.algroup.co.uk>
Subject Re: [PATCH] must flush for CRLFs after POSTs
Date Tue, 28 Jan 1997 12:15:44 GMT
David Robinson wrote:
> 
> On Tue, 28 Jan 1997, Ben Laurie wrote:
> 
> > David Robinson wrote:
> > > ...
> > > I suggest that mod_cgi should attempt to read any unwanted CRLF pairs after
> > > having read content-length bytes. To achieve this, you simply need a
> > > routine in buff.c that attempts to read without blocking.
> > 
> > Surely this isn't going to work well - what happens if the extra CRLFs are
> > delayed?
> 
> On the one time in a thousand that that happens, then the read buffer will be
> flushed anyway because it will look as though there are no more requests
> to come.

You've lost me. Surely we wait for the keepalive timeout period for a new
request?

Cheers,

Ben.

-- 
Ben Laurie                Phone: +44 (181) 994 6435  Email: ben@algroup.co.uk
Freelance Consultant and  Fax:   +44 (181) 994 6472
Technical Director        URL: http://www.algroup.co.uk/Apache-SSL
A.L. Digital Ltd,         Apache Group member (http://www.apache.org)
London, England.          Apache-SSL author

Mime
View raw message