httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Robinson <d...@esi.co.uk>
Subject Re: [PATCH] must flush for CRLFs after POSTs
Date Tue, 28 Jan 1997 12:06:17 GMT
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.

 David.

Mime
View raw message