aboutsummaryrefslogtreecommitdiff
path: root/src/or/channel.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-02-06 12:51:43 -0500
committerDavid Goulet <dgoulet@torproject.org>2018-02-06 12:56:36 -0500
commit93ebcc2b8f8f22f2628cf74cc92674c8fbeb7b9a (patch)
tree52373055d69e8f78e3797420856171858ecf5571 /src/or/channel.c
parent199bc37290d60b155bdd4c82c5f2d4b9096bd496 (diff)
downloadtor-93ebcc2b8f8f22f2628cf74cc92674c8fbeb7b9a.tar.gz
tor-93ebcc2b8f8f22f2628cf74cc92674c8fbeb7b9a.zip
rephist: Stop tracking relay connection status
Remove a series of connection counters that were only used when dumping the rephist statistics with SIGUSR1 signal. This reduces the or_history_t structure size. Closes #25163 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/channel.c')
-rw-r--r--src/or/channel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/channel.c b/src/or/channel.c
index 1afd451908..8db974bb3a 100644
--- a/src/or/channel.c
+++ b/src/or/channel.c
@@ -1884,7 +1884,6 @@ channel_do_open_actions(channel_t *chan)
if (started_here) {
circuit_build_times_network_is_live(get_circuit_build_times_mutable());
- rep_hist_note_connect_succeeded(chan->identity_digest, now);
router_set_status(chan->identity_digest, 1);
} else {
/* only report it to the geoip module if it's not a known router */