diff options
author | Denis Vlasenko | 2007-11-03 23:17:40 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-11-03 23:17:40 +0000 |
commit | fa3f806cd0730ddc53765f04a846087b99db847a (patch) | |
tree | c76e82b7f511a099cb1c107e13de57207926f89b /networking/httpd.c | |
parent | 43f0a0bb3a178794ac9fa3f5010db680c5d1b018 (diff) | |
download | busybox-fa3f806cd0730ddc53765f04a846087b99db847a.zip busybox-fa3f806cd0730ddc53765f04a846087b99db847a.tar.gz |
apply accumulated post 1.7.2 patches; bump version to 1.7.31_7_3
Diffstat (limited to 'networking/httpd.c')
-rw-r--r-- | networking/httpd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index e67e6bd..139e913 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 |