diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-12-10 22:17:02 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-12-10 22:17:02 +0000 |
commit | 53d3f812bd2f97f4eb2acce73919e217baaf2772 (patch) | |
tree | 5c392e3ebe2b43a00eee5c0ab405933bb02e37ca /src/or/config.c | |
parent | 9aa706e20c3ae91f6cac95964e291076b88ecd48 (diff) | |
download | tor-53d3f812bd2f97f4eb2acce73919e217baaf2772.tar.gz tor-53d3f812bd2f97f4eb2acce73919e217baaf2772.zip |
Add new internal-use-only option for controllers to use to prevent SIGHUP from reloading the configuration. Fixes bug 856.
svn:r17567
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
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"), |