uhttpd: retry parsing the CGI header until the buffer space is exhausted

SVN-Revision: 32662
This commit is contained in:
Jo-Philipp Wich
2012-07-11 09:59:05 +00:00
parent b94d9eb302
commit 0000ce2271
4 changed files with 23 additions and 11 deletions

View File

@@ -28,7 +28,11 @@
struct uh_cgi_state {
char httpbuf[UH_LIMIT_MSGHEAD];
struct {
char buf[UH_LIMIT_MSGHEAD];
char *ptr;
int len;
} httpbuf;
int content_length;
bool header_sent;
};