diff options
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 e67e6bd64..139e913f1 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
@@ -1186,6 +1186,9 @@ static void send_cgi_and_exit( | |||
1186 | * and send it to the peer. So please no SIGPIPEs! */ | 1186 | * and send it to the peer. So please no SIGPIPEs! */ |
1187 | signal(SIGPIPE, SIG_IGN); | 1187 | signal(SIGPIPE, SIG_IGN); |
1188 | 1188 | ||
1189 | /* Accound for POSTDATA already in hdr_buf */ | ||
1190 | bodyLen -= hdr_cnt; | ||
1191 | |||
1189 | /* This loop still looks messy. What is an exit criteria? | 1192 | /* This loop still looks messy. What is an exit criteria? |
1190 | * "CGI's output closed"? Or "CGI has exited"? | 1193 | * "CGI's output closed"? Or "CGI has exited"? |
1191 | * What to do if CGI has closed both input and output, but | 1194 | * What to do if CGI has closed both input and output, but |