[package] uhttpd: do not subscribe to epoll write events
[openwrt/svn-archive/archive.git] / package / uhttpd / src / uhttpd-cgi.c
index 8336a1b71f6ecb266f0f7a3cb407613b92bef8e7..aa794781158018bb2adf47f74b6d25097f460d62 100644 (file)
@@ -530,6 +530,7 @@ bool uh_cgi_request(struct client *cl, struct path_info *pi,
                memset(state, 0, sizeof(*state));
 
                state->cl = cl;
+               state->cl->pipe.fd = rfd[0];
                state->cl->proc.pid = child;
 
                /* close unneeded pipe ends */