aboutsummaryrefslogtreecommitdiff
path: root/src/or/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/status.c')
-rw-r--r--src/or/status.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/status.c b/src/or/status.c
index 6e2206e5e5..e1820c8889 100644
--- a/src/or/status.c
+++ b/src/or/status.c
@@ -14,7 +14,9 @@
#include "router.h"
#include "circuitlist.h"
#include "main.h"
+#include "rephist.h"
#include "hibernate.h"
+#include "rephist.h"
#include "statefile.h"
static void log_accounting(const time_t now, const or_options_t *options);
@@ -128,6 +130,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);