summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-10-25 23:32:32 +0100
committerMichael Adam <obnox@samba.org>2009-10-25 23:33:37 +0100
commit25057baf549876a507d31b5b8ea3831dcbc98ed9 (patch)
tree742be9d85ce30719bfbca678e9234abb3168e531
parent3474de599fa9beff3931e7f655156acefff3f655 (diff)
downloadtinyproxy-25057baf549876a507d31b5b8ea3831dcbc98ed9.tar.gz
tinyproxy-25057baf549876a507d31b5b8ea3831dcbc98ed9.zip
propagate reload of filter file to child procs by sending HUP signals
-rw-r--r--src/child.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/child.c b/src/child.c
index b638b99..6bd7456 100644
--- a/src/child.c
+++ b/src/child.c
@@ -432,6 +432,9 @@ void child_main_loop (void)
filter_reload ();
#endif /* FILTER_ENABLE */
+ /* propagate filter reload to all children */
+ child_kill_children (SIGHUP);
+
received_sighup = FALSE;
}
}