aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/circuituse.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-07-12 09:21:52 -0400
committerNick Mathewson <nickm@torproject.org>2018-08-28 16:01:57 -0400
commitf661d856fd83cb978320bf55ba5dfdee55a666b8 (patch)
tree019a18c86d19e5ebd87cd739fa71684f646b973f /src/core/or/circuituse.c
parent67cd67611c7d0756d04eab4a04ed913bf3421ae1 (diff)
downloadtor-f661d856fd83cb978320bf55ba5dfdee55a666b8.tar.gz
tor-f661d856fd83cb978320bf55ba5dfdee55a666b8.zip
hs: Remove rend_client_allow_non_anonymous_connection
By removing Tor2Web, there is no way a client can be non anonymous so we remove that function and the callsites. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/core/or/circuituse.c')
-rw-r--r--src/core/or/circuituse.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/or/circuituse.c b/src/core/or/circuituse.c
index a10791f3a9..0f2b1ede32 100644
--- a/src/core/or/circuituse.c
+++ b/src/core/or/circuituse.c
@@ -888,11 +888,6 @@ circuit_log_ancient_one_hop_circuits(int age)
(circ->purpose == CIRCUIT_PURPOSE_S_INTRO ||
circ->purpose == CIRCUIT_PURPOSE_S_REND_JOINED))
continue;
- /* We only ignore active rend point connections, if we take a long time
- * to rendezvous, that's worth logging. */
- if (rend_client_allow_non_anonymous_connection(options) &&
- circ->purpose == CIRCUIT_PURPOSE_C_REND_JOINED)
- continue;
ocirc = CONST_TO_ORIGIN_CIRCUIT(circ);
if (ocirc->build_state && ocirc->build_state->onehop_tunnel) {