projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
generic: add rtl8366rb switch vlan fid support
[openwrt.git]
/
package
/
uhttpd
/
src
/
uhttpd-lua.c
diff --git
a/package/uhttpd/src/uhttpd-lua.c
b/package/uhttpd/src/uhttpd-lua.c
index
b3f3cb4
..
c2efe33
100644
(file)
--- a/
package/uhttpd/src/uhttpd-lua.c
+++ b/
package/uhttpd/src/uhttpd-lua.c
@@
-533,7
+533,10
@@
void uh_lua_request(struct client *cl, struct http_request *req, lua_State *L)
close(wfd[1]);
if( !kill(child, 0) )
close(wfd[1]);
if( !kill(child, 0) )
+ {
kill(child, SIGTERM);
kill(child, SIGTERM);
+ waitpid(child, NULL, 0);
+ }
break;
}
break;
}
@@
-543,5
+546,3
@@
void uh_lua_close(lua_State *L)
{
lua_close(L);
}
{
lua_close(L);
}
-
-
This page took
0.028786 seconds
and
4
git commands to generate.