summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-04-25 13:30:46 -0400
committerNick Mathewson <nickm@torproject.org>2017-05-09 10:30:52 -0400
commitfea72571dfc70ec766edaaea2dc80c1e759a977d (patch)
tree8334af310ea4c2b96b570abe0d5ad2798467435d /src/or/or.h
parent2b9823b3106df2cf23e2de13ae9a9b6d12607ce4 (diff)
downloadtor-fea72571dfc70ec766edaaea2dc80c1e759a977d.tar.gz
tor-fea72571dfc70ec766edaaea2dc80c1e759a977d.zip
config: Remove AllowSingleHopCircuits option
Deprecated in 0.2.9.2-alpha, this commits changes it as OBSOLETE() and cleans up the code associated with it. Partially fixes #22060 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 53a87101f0..4381459519 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -4120,9 +4120,6 @@ typedef struct {
/** If true, don't allow relays with AllowSingleHopExits=1 to be used in
* circuits that we build. */
int ExcludeSingleHopRelays;
- /** If true, and the controller tells us to use a one-hop circuit, and the
- * exit allows it, we use it. */
- int AllowSingleHopCircuits;
/** If true, we convert "www.google.com.foo.exit" addresses on the
* socks/trans/natd ports into "www.google.com" addresses that