aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2013-09-05 02:34:58 -0400
committerRoger Dingledine <arma@torproject.org>2013-09-05 02:34:58 -0400
commit86907ea4db5067d1fbf56275457a919d6789ba95 (patch)
treed37c00248b7e9a1f1c9194604a85a4bcf2a90fd4 /src/or/main.c
parent6156887adfa724805f90b3b7cf2be6213f08a450 (diff)
parent2c877d2da4a989639311de11e4ada8dd03bc8187 (diff)
downloadtor-86907ea4db5067d1fbf56275457a919d6789ba95.tar.gz
tor-86907ea4db5067d1fbf56275457a919d6789ba95.zip
Merge branch 'maint-0.2.4'
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 33e1c6437f..40e8377a97 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1369,6 +1369,11 @@ run_scheduled_events(time_t now)
next_time_to_write_stats_files = next_write;
}
time_to_write_stats_files = next_time_to_write_stats_files;
+
+ /* 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);
}
/* 1h. Check whether we should write bridge statistics to disk.