diff options
author | Roger Dingledine <arma@torproject.org> | 2004-08-08 07:25:45 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-08-08 07:25:45 +0000 |
commit | 05790d17225f5ba71d378f49c52cba7ed20d43ee (patch) | |
tree | 646b23c1ca045de9a3cc14cf34c2a9a2fceea05b /src/or/dns.c | |
parent | 76b284d2af2397c98b76e82369f977539eaf37bd (diff) | |
download | tor-05790d17225f5ba71d378f49c52cba7ed20d43ee.tar tor-05790d17225f5ba71d378f49c52cba7ed20d43ee.tar.gz |
let children survive sigint, sigterm, etc.
this was biting us because ^c would get delivered to all of them,
maybe because they were all still listening to stdin?
svn:r2197
Diffstat (limited to 'src/or/dns.c')
-rw-r--r-- | src/or/dns.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index 2d976a78e..6cbecc02b 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -641,6 +641,7 @@ static int dnsworker_main(void *data) { #ifndef MS_WINDOWS connection_free_all(); /* so the child doesn't hold the parent's fd's open */ #endif + handle_signals(0); /* ignore interrupts from the keyboard, etc */ for(;;) { |