aboutsummaryrefslogtreecommitdiff
path: root/src/or/status.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-12-24 11:42:35 -0500
committerNick Mathewson <nickm@torproject.org>2013-12-24 11:42:35 -0500
commit573ee36eae63962f5af162a7f732fe4459513c94 (patch)
treee91a8b271fd25af89de01bc53b51f88e7673252a /src/or/status.c
parent3121a6d0c8c8c3f7c01f09120dbe9c4f5a8adfdb (diff)
parent2b8962bc64852d601efa2a8a624bffbbf5ba7ef5 (diff)
downloadtor-573ee36eae63962f5af162a7f732fe4459513c94.tar
tor-573ee36eae63962f5af162a7f732fe4459513c94.tar.gz
Merge remote-tracking branch 'public/bug10485'
Diffstat (limited to 'src/or/status.c')
-rw-r--r--src/or/status.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/status.c b/src/or/status.c
index 6e2206e5e..415f4daea 100644
--- a/src/or/status.c
+++ b/src/or/status.c
@@ -14,6 +14,7 @@
#include "router.h"
#include "circuitlist.h"
#include "main.h"
+#include "rephist.h"
#include "hibernate.h"
#include "statefile.h"
@@ -128,6 +129,11 @@ log_heartbeat(time_t now)
log_notice(LD_HEARTBEAT, "TLS write overhead: %.f%%", overhead);
}
+ /* Also commandeer this opportunity to log how our circuit handshake
+ * stats have been doing. */
+ if (public_server_mode(options))
+ rep_hist_log_circuit_handshake_stats(now);
+
tor_free(uptime);
tor_free(bw_sent);
tor_free(bw_rcvd);