From 4172149f89b14c2760578f6dc99427794f83de2b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 27 Mar 2010 14:31:35 +0000 Subject: uhttpd: block SIGCHLD until it is expected (#6957) SVN-Revision: 20513 --- package/uhttpd/src/uhttpd-lua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/uhttpd/src/uhttpd-lua.c') diff --git a/package/uhttpd/src/uhttpd-lua.c b/package/uhttpd/src/uhttpd-lua.c index fcbdc64825..b3f3cb498f 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 ) { -- cgit v1.2.3