diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-02-06 13:03:01 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-02-06 13:03:01 -0500 |
commit | edc6fa25706534b35259111797fade88c9b694da (patch) | |
tree | 7eca3c9695e1e821332856b55623429162a77bf5 /src/or/status.c | |
parent | 35115496511f64c08849a039c926910739467169 (diff) | |
download | tor-edc6fa25706534b35259111797fade88c9b694da.tar.gz tor-edc6fa25706534b35259111797fade88c9b694da.zip |
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.
Diffstat (limited to 'src/or/status.c')
-rw-r--r-- | src/or/status.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |