[package] uhttpd: do not subscribe to epoll write events
[openwrt/svn-archive/archive.git] / package / uhttpd / src / uhttpd-lua.c
index 5158534e27103f86a96a70155e0ecb057ba867f1..10d6de402a4d21eee77f992a4aeb81471d5dc6b6 100644 (file)
@@ -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 */