projects
/
openwrt
/
staging
/
yousong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
uhttpd: do not subscribe to epoll write events Watch child read pipe end for data...
[openwrt/staging/yousong.git]
/
package
/
uhttpd
/
src
/
uhttpd-lua.c
diff --git
a/package/uhttpd/src/uhttpd-lua.c
b/package/uhttpd/src/uhttpd-lua.c
index 5158534e27103f86a96a70155e0ecb057ba867f1..10d6de402a4d21eee77f992a4aeb81471d5dc6b6 100644
(file)
--- a/
package/uhttpd/src/uhttpd-lua.c
+++ b/
package/uhttpd/src/uhttpd-lua.c
@@
-558,6
+558,7
@@
bool uh_lua_request(struct client *cl, lua_State *L)
memset(state, 0, sizeof(*state));
state->cl = cl;
+ state->cl->pipe.fd = rfd[0];
state->cl->proc.pid = child;
/* close unneeded pipe ends */