summaryrefslogtreecommitdiff
path: root/package/uhttpd/src/uhttpd-lua.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-27 14:31:35 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-27 14:31:35 +0000
commit4172149f89b14c2760578f6dc99427794f83de2b (patch)
tree0c37368e3ac708aa90d33474a97ef178d299c226 /package/uhttpd/src/uhttpd-lua.c
parent27d3adb4507f8c9940075de097b83a9bf776566b (diff)
downloadmtk-20170518-4172149f89b14c2760578f6dc99427794f83de2b.zip
mtk-20170518-4172149f89b14c2760578f6dc99427794f83de2b.tar.gz
mtk-20170518-4172149f89b14c2760578f6dc99427794f83de2b.tar.bz2
uhttpd: block SIGCHLD until it is expected (#6957)
SVN-Revision: 20513
Diffstat (limited to 'package/uhttpd/src/uhttpd-lua.c')
-rw-r--r--package/uhttpd/src/uhttpd-lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/uhttpd/src/uhttpd-lua.c b/package/uhttpd/src/uhttpd-lua.c
index fcbdc64..b3f3cb4 100644
--- a/package/uhttpd/src/uhttpd-lua.c
+++ b/package/uhttpd/src/uhttpd-lua.c
@@ -452,7 +452,7 @@ void uh_lua_request(struct client *cl, struct http_request *req, lua_State *L)
FD_SET(wfd[1], &writer);
/* wait until we can read or write or both */
- if( select(fd_max, &reader,
+ if( select_intr(fd_max, &reader,
(content_length > -1) ? &writer : NULL, NULL,
(data_sent < 1) ? &timeout : NULL) > 0
) {