[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] if you want to handle -USR2, you should catch it too.
Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or
Modified Files:
main.c
Log Message:
if you want to handle -USR2, you should catch it too.
Index: main.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.390
retrieving revision 1.391
diff -u -d -r1.390 -r1.391
--- main.c 26 Nov 2004 04:00:53 -0000 1.390
+++ main.c 26 Nov 2004 04:03:19 -0000 1.391
@@ -1044,6 +1044,7 @@
sigaction(SIGTERM, &action, NULL); /* to terminate now */
sigaction(SIGPIPE, &action, NULL); /* otherwise sigpipe kills us */
sigaction(SIGUSR1, &action, NULL); /* dump stats */
+ sigaction(SIGUSR2, &action, NULL); /* go to loglevel debug */
sigaction(SIGHUP, &action, NULL); /* to reload config, retry conns, etc */
#ifdef SIGXFSZ
sigaction(SIGXFSZ, &action, NULL); /* handle file-too-big resource exhaustion */