From fa3f806cd0730ddc53765f04a846087b99db847a Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 3 Nov 2007 23:17:40 +0000 Subject: apply accumulated post 1.7.2 patches; bump version to 1.7.3 --- networking/httpd.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'networking/httpd.c') diff --git a/networking/httpd.c b/networking/httpd.c index e67e6bd64..139e913f1 100644 --- a/networking/httpd.c +++ b/networking/httpd.c @@ -1186,6 +1186,9 @@ static void send_cgi_and_exit( * and send it to the peer. So please no SIGPIPEs! */ signal(SIGPIPE, SIG_IGN); + /* Accound for POSTDATA already in hdr_buf */ + bodyLen -= hdr_cnt; + /* This loop still looks messy. What is an exit criteria? * "CGI's output closed"? Or "CGI has exited"? * What to do if CGI has closed both input and output, but -- cgit v1.2.3-55-g6feb