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.
|