From 945edd6c0c9e6bd1ad4daa4cc204f5ca283b81b5 Mon Sep 17 00:00:00 2001 From: jow Date: Wed, 11 Jul 2012 09:59:05 +0000 Subject: [package] uhttpd: retry parsing the CGI header until the buffer space is exhausted git-svn-id: svn://svn.openwrt.org/openwrt/trunk/package/uhttpd/src@32662 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- uhttpd-cgi.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'uhttpd-cgi.h') diff --git a/uhttpd-cgi.h b/uhttpd-cgi.h index fffcc5d..c7094da 100644 --- a/uhttpd-cgi.h +++ b/uhttpd-cgi.h @@ -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; }; -- cgit v1.2.1