diff options
author | David Goulet <dgoulet@torproject.org> | 2018-02-06 12:43:55 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-02-06 12:43:55 -0500 |
commit | 199bc37290d60b155bdd4c82c5f2d4b9096bd496 (patch) | |
tree | a25d31b3a42bb681d0485ddce46af00329c5598f /src/or/circuitlist.c | |
parent | 6961609a1c62fb25b305c60e4d3ad49263da834c (diff) | |
download | tor-199bc37290d60b155bdd4c82c5f2d4b9096bd496.tar.gz tor-199bc37290d60b155bdd4c82c5f2d4b9096bd496.zip |
rephist: Stop tracking EXTEND attempts
This removes the code that tracks the extend attemps a client makes. We don't
use it and it was only used to provide statistics on a SIGUSR1 from the
rephist dump stats function.
Part of #25163
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r-- | src/or/circuitlist.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index 8c02cd1c19..2704798ebc 100644 --- a/src/or/circuitlist.c +++ b/src/or/circuitlist.c @@ -1986,8 +1986,7 @@ circuit_mark_all_dirty_circs_as_unusable(void) * - If state is onionskin_pending, remove circ from the onion_pending * list. * - If circ isn't open yet: call circuit_build_failed() if we're - * the origin, and in either case call circuit_rep_hist_note_result() - * to note stats. + * the origin. * - If purpose is C_INTRODUCE_ACK_WAIT, report the intro point * failure we just had to the hidden service client module. * - If purpose is C_INTRODUCING and <b>reason</b> isn't TIMEOUT, @@ -2123,7 +2122,6 @@ circuit_about_to_free(circuit_t *circ) if (CIRCUIT_IS_ORIGIN(circ)) { origin_circuit_t *ocirc = TO_ORIGIN_CIRCUIT(circ); circuit_build_failed(ocirc); /* take actions if necessary */ - circuit_rep_hist_note_result(ocirc); } } if (circ->state == CIRCUIT_STATE_CHAN_WAIT) { |