diff options
author | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2015-11-25 08:53:29 +1100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-12-15 12:19:01 -0500 |
commit | 080ae03ee4c5c5e06f9f813cec4f66c5ab801a19 (patch) | |
tree | 0c9ad3c4fe06d27b11af4730180abe54244fe9fd /src/or/or.h | |
parent | 6cdd024c94ce9d2ba73cb393ccc84c6274c26d85 (diff) | |
download | tor-080ae03ee4c5c5e06f9f813cec4f66c5ab801a19.tar.gz tor-080ae03ee4c5c5e06f9f813cec4f66c5ab801a19.zip |
Add UseDefaultFallbackDirs for hard-coded directory mirrors
UseDefaultFallbackDirs enables any hard-coded fallback
directory mirrors. Default is 1, set it to 0 to disable fallbacks.
Implements ticket 17576.
Patch by "teor".
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 97fa9dc25b..c5e1b9cc92 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3757,6 +3757,8 @@ typedef struct { /** List of fallback directory servers */ config_line_t *FallbackDir; + /** Whether to use the default hard-coded FallbackDirs */ + int UseDefaultFallbackDirs; /** Weight to apply to all directory authority rates if considering them * along with fallbackdirs */ |