diff options
author | Michael Adam <obnox@samba.org> | 2009-10-25 23:32:32 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-10-25 23:33:37 +0100 |
commit | 25057baf549876a507d31b5b8ea3831dcbc98ed9 (patch) | |
tree | 742be9d85ce30719bfbca678e9234abb3168e531 | |
parent | 3474de599fa9beff3931e7f655156acefff3f655 (diff) | |
download | tinyproxy-25057baf549876a507d31b5b8ea3831dcbc98ed9.tar.gz tinyproxy-25057baf549876a507d31b5b8ea3831dcbc98ed9.zip |
propagate reload of filter file to child procs by sending HUP signals
Diffstat (limited to '')
-rw-r--r-- | src/child.c | 3 |
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; } } |