- From: Brian Behlendorf <brian@organic.com>
- Date: Mon, 4 Mar 1996 18:43:11 -0800 (PST)
- To: Lou Montulli <montulli@mozilla.com>
- Cc: Andy Norman <ange@hplb.hpl.hp.com>, http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
On Mon, 4 Mar 1996, Lou Montulli wrote: > The extra CRLF is sent to fix bugs in cgi programs. The > problem stems from the use of PERL to parse cgi input. > If you use a getline function it will only return data > at every CRLF boundary. If browsers don't send a final > CRLF at the end of the post data, many cgi programs will > never get the data since the post data does not normally > contain a CRLF at the end. Perl's getline (or <STDIN>, etc) uses both CRLF or EOF - when a server is receiving POST data, and it has received as many bytes as the content-length header says it should have received, doesn't the server close the stdin pipe to the CGI script? Or is it left up to the CGI script to start responding autonomously? Brian --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-- brian@organic.com brian@hyperreal.com http://www.[hyperreal,organic].com/
Received on Monday, 4 March 1996 18:42:12 UTC