aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-03-01 14:14:26 +1000
committerteor <teor@torproject.org>2019-03-01 14:14:26 +1000
commitecbc2e80a0fec4f9cd6a8c1e2dd1bebc3899567a (patch)
tree34e5aa66c5cfed5d37bf5417bf4c918d72bf80d3 /src
parent4d9eb4dd0e67190f8e3bf5300e85611d8605400c (diff)
parent7ce8d5513ba388259e4e251d49183ef0fe9c8fa8 (diff)
downloadtor-ecbc2e80a0fec4f9cd6a8c1e2dd1bebc3899567a.tar.gz
tor-ecbc2e80a0fec4f9cd6a8c1e2dd1bebc3899567a.zip
Merge remote-tracking branch 'tor-github/pr/747' into maint-0.2.9
Diffstat (limited to 'src')
-rw-r--r--src/or/circuituse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 84574cd5b9..96cd3cd7e8 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -808,10 +808,10 @@ circuit_log_ancient_one_hop_circuits(int age)
if (circ->timestamp_created.tv_sec >= cutoff)
continue;
/* Single Onion Services deliberately make long term one-hop intro
- * connections. We only ignore active intro point connections, if we take
- * a long time establishing, that's worth logging. */
+ * and rendezvous connections. Don't log the established ones. */
if (rend_service_allow_non_anonymous_connection(options) &&
- circ->purpose == CIRCUIT_PURPOSE_S_INTRO)
+ (circ->purpose == CIRCUIT_PURPOSE_S_INTRO ||
+ circ->purpose == CIRCUIT_PURPOSE_S_REND_JOINED))
continue;
/* Tor2web deliberately makes long term one-hop rend connections,
* particularly when Tor2webRendezvousPoints is used. We only ignore