aboutsummaryrefslogtreecommitdiff
path: root/src/or/status.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-02-06 13:03:01 -0500
committerNick Mathewson <nickm@torproject.org>2014-02-06 13:03:01 -0500
commitedc6fa25706534b35259111797fade88c9b694da (patch)
tree7eca3c9695e1e821332856b55623429162a77bf5 /src/or/status.c
parent35115496511f64c08849a039c926910739467169 (diff)
downloadtor-edc6fa25706534b35259111797fade88c9b694da.tar
tor-edc6fa25706534b35259111797fade88c9b694da.tar.gz
Deliver circuit handshake counts as part of the heartbeat
Previously, they went out once an hour, unconditionally. Fixes 10485; bugfix on 0.2.4.17-rc.
Diffstat (limited to 'src/or/status.c')
-rw-r--r--src/or/status.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/status.c b/src/or/status.c
index d239e6ee7..4c4215504 100644
--- a/src/or/status.c
+++ b/src/or/status.c
@@ -121,6 +121,9 @@ log_heartbeat(time_t now)
log_notice(LD_HEARTBEAT, "TLS write overhead: %.f%%", overhead);
}
+ if (public_server_mode(options))
+ rep_hist_log_circuit_handshake_stats(now);
+
tor_free(uptime);
tor_free(bw_sent);
tor_free(bw_rcvd);