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/or.h | |
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/or.h')
-rw-r--r-- | src/or/or.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index ac384421a9..96af19e1f7 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2496,6 +2496,10 @@ typedef struct { /** Optionally, a file with GeoIP data. */ char *GeoIPFile; + /** If true, SIGHUP should reload the torrc. Sometimes controllers want + * to make this false. */ + int ReloadTorrcOnSIGHUP; + } or_options_t; /** Persistent state for an onion router, as saved to disk. */ |