[tor-commits] [torspec/master] Document __DisableSignalHandlers for 24588.

nickm at torproject.org nickm at torproject.org
Fri Jan 19 21:37:49 UTC 2018


commit bc89d9de547831ed3256cf2852b67233edb66a6e
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Dec 15 12:50:50 2017 -0500

    Document __DisableSignalHandlers for 24588.
---
 control-spec.txt | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/control-spec.txt b/control-spec.txt
index c9df06d..c201889 100644
--- a/control-spec.txt
+++ b/control-spec.txt
@@ -3261,6 +3261,20 @@
 
     (Integer. Default: -1.)
 
+  __DisableSignalHandlers
+
+    If this option is set to true during startup, then Tor will not install
+    any signal handlers to watch for POSIX signals.  The SIGNAL controller
+    command will still work.
+
+    This option is meant for embedding Tor inside another process, when
+    the controlling process would rather handle signals on its own.
+
+    This option cannot be changed via SETCONF; it must be set in a torrc or
+    via the command line.
+
+    (Boolean. Default: 0.)
+
 5.5. Phases from the Bootstrap status event.
 
   This section describes the various bootstrap phases currently reported





More information about the tor-commits mailing list