diff options
author | Mike Perry <mikeperry-git@torproject.org> | 2017-12-07 00:04:09 +0000 |
---|---|---|
committer | Mike Perry <mikeperry-git@torproject.org> | 2017-12-07 00:04:38 +0000 |
commit | ed89588c4fa672eb8a85c8c5cdce4f7ec08bc9d8 (patch) | |
tree | 8d52b6a7a71ddf8aedcff9fa28f6d82776f1e560 /src/or/circuitstats.h | |
parent | b5d4cd1b4178bfa285fc5c512a29daa2580d96b8 (diff) | |
download | tor-ed89588c4fa672eb8a85c8c5cdce4f7ec08bc9d8.tar.gz tor-ed89588c4fa672eb8a85c8c5cdce4f7ec08bc9d8.zip |
Bug #23114: Time out circuits immediately.
This changes the purpose of circuits that are past the timeout to measurement
*as they are built*, ensuring accurate application of the timeout logic.
Diffstat (limited to 'src/or/circuitstats.h')
-rw-r--r-- | src/or/circuitstats.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuitstats.h b/src/or/circuitstats.h index 68b66af1ba..7fc65fc8d1 100644 --- a/src/or/circuitstats.h +++ b/src/or/circuitstats.h @@ -45,6 +45,7 @@ double circuit_build_times_timeout_rate(const circuit_build_times_t *cbt); double circuit_build_times_close_rate(const circuit_build_times_t *cbt); void circuit_build_times_update_last_circ(circuit_build_times_t *cbt); +void circuit_build_times_mark_circ_as_measurement_only(origin_circuit_t *circ); #ifdef CIRCUITSTATS_PRIVATE STATIC double circuit_build_times_calculate_timeout(circuit_build_times_t *cbt, |