Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
htparser: Put root handler in a new session regardless of daemonization.
[ashd.git]
/
examples
/
python
/
dynhosts
/
dynhosts
diff --git
a/examples/python/dynhosts/dynhosts
b/examples/python/dynhosts/dynhosts
index
fae28c8
..
9a69a70
100755
(executable)
--- a/
examples/python/dynhosts/dynhosts
+++ b/
examples/python/dynhosts/dynhosts
@@
-5,6
+5,8
@@
from ashd import util
children = {}
root = sys.argv[1]
+
+# Automatically reap all children that die for any reason.
signal.signal(signal.SIGCHLD, signal.SIG_IGN)
def serve(req):