X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=package%2Fuhttpd%2Fsrc%2Fuhttpd-lua.c;h=10d6de402a4d21eee77f992a4aeb81471d5dc6b6;hp=5158534e27103f86a96a70155e0ecb057ba867f1;hb=c2e7896dea3b1834be3f35961da53dcfd2c61a04;hpb=fffc489ef420dcdf3130fa98523baefde41cc78f diff --git a/package/uhttpd/src/uhttpd-lua.c b/package/uhttpd/src/uhttpd-lua.c index 5158534e27..10d6de402a 100644 --- 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 */