From edc6fa25706534b35259111797fade88c9b694da Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 6 Feb 2014 13:03:01 -0500 Subject: 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. --- src/or/status.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/or/status.c') diff --git a/src/or/status.c b/src/or/status.c index d239e6ee75..4c4215504b 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); -- cgit v1.2.3-54-g00ecf