From 2c877d2da4a989639311de11e4ada8dd03bc8187 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 4 Sep 2013 17:43:15 -0400 Subject: collect and log statistics about onionskins received/processed we skip onionskins that came from non-relays, so we're less likely to run into privacy troubles. starts to implement ticket 9658. --- src/or/main.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/or/main.c') diff --git a/src/or/main.c b/src/or/main.c index bd23141b97..deed798e80 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1353,6 +1353,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. -- cgit v1.2.3-54-g00ecf