summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-21 17:02:51 -0500
committerNick Mathewson <nickm@torproject.org>2016-11-30 14:42:53 -0500
commit8dc6048c02806e8d30740c5a2a0dd11476909ce4 (patch)
tree25012412136c445f5148d80cfefa16f4f2f9ecd9 /src/or/or.h
parent238828c92b1cc186577e44490caf4fa3870e724d (diff)
downloadtor-8dc6048c02806e8d30740c5a2a0dd11476909ce4.tar.gz
tor-8dc6048c02806e8d30740c5a2a0dd11476909ce4.zip
Add an (as yet) unused UseDeprecatedGuardAlgorithm_ option.
I expect we'll be ripping this out somewhere in 0.3.0, but let's keep it around for a little while in case it turns out to be the only way to avert disaster?
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index eb0025d100..8282731eea 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -4579,6 +4579,14 @@ typedef struct {
/** If 1, we skip all OOS checks. */
int DisableOOSCheck;
+
+ /** If 1, we use the old (pre-prop271) guard selection algorithm.
+ *
+ * XXXX prop271 This option is only here as a stopgap while we're
+ * XXXX tuning and debugging the new (post-prop271) algorithm. Eventually
+ * we should remove it entirely.
+ */
+ int UseDeprecatedGuardAlgorithm;
} or_options_t;
/** Persistent state for an onion router, as saved to disk. */