projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[package] uhttpd: retry parsing the CGI header until the buffer space is exhausted
[openwrt.git]
/
package
/
uhttpd
/
src
/
uhttpd-cgi.h
diff --git
a/package/uhttpd/src/uhttpd-cgi.h
b/package/uhttpd/src/uhttpd-cgi.h
index
fffcc5d
..
c7094da
100644
(file)
--- a/
package/uhttpd/src/uhttpd-cgi.h
+++ b/
package/uhttpd/src/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;
};