From 53d3f812bd2f97f4eb2acce73919e217baaf2772 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 10 Dec 2008 22:17:02 +0000 Subject: Add new internal-use-only option for controllers to use to prevent SIGHUP from reloading the configuration. Fixes bug 856. svn:r17567 --- src/or/config.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/or/config.c') diff --git a/src/or/config.c b/src/or/config.c index 2ed610c337..f35c180068 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -333,6 +333,7 @@ static config_var_t _option_vars[] = { VAR("VersioningAuthoritativeDirectory",BOOL,VersioningAuthoritativeDir, "0"), V(VirtualAddrNetwork, STRING, "127.192.0.0/10"), V(WarnPlaintextPorts, CSV, "23,109,110,143"), + VAR("__ReloadTorrcOnSIGHUP", BOOL, ReloadTorrcOnSIGHUP, "1"), VAR("__AllDirActionsPrivate", BOOL, AllDirActionsPrivate, "0"), VAR("__DisablePredictedCircuits",BOOL,DisablePredictedCircuits, "0"), VAR("__LeaveStreamsUnattached",BOOL, LeaveStreamsUnattached, "0"), -- cgit v1.2.3-54-g00ecf