uhttpd: various fixes

- avoid closing descriptors before removing them from uloop (#11755, #11830)
    - do not auto-initialize ubus if no prefix is set (#11832)
    - remove extraneous client context pointer from cgi and lua states
    - code cleanups and debug message changes

SVN-Revision: 32651
This commit is contained in:
Jo-Philipp Wich
2012-07-09 00:08:20 +00:00
parent 1f1cf1990b
commit 86de034767
9 changed files with 153 additions and 142 deletions

View File

@@ -28,9 +28,6 @@
struct uh_cgi_state {
int rfd;
int wfd;
struct client *cl;
char httpbuf[UH_LIMIT_MSGHEAD];
int content_length;
bool header_sent;