projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[package] uhttpd: block SIGCHLD until it is expected (#6957)
[openwrt/svn-archive/archive.git]
/
package
/
uhttpd
/
src
/
uhttpd-lua.c
diff --git
a/package/uhttpd/src/uhttpd-lua.c
b/package/uhttpd/src/uhttpd-lua.c
index fcbdc6482543864e41937450fd79c51eb564a130..b3f3cb498f75cb5e10ca8ef25b3eeaa5410d5e55 100644
(file)
--- 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
) {