diff options
author | David Goulet <dgoulet@torproject.org> | 2017-08-04 12:06:34 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-08 20:29:35 -0400 |
commit | 400ba2f636edf5afb14fe3b57f23d80e433d893d (patch) | |
tree | b88548d7c08bf3c6a190247e18a026c1cdd333f1 /src/or/circuituse.h | |
parent | 0a0bbfe96fe425f27641f86fabd19f65a551ac6c (diff) | |
download | tor-400ba2f636edf5afb14fe3b57f23d80e433d893d.tar.gz tor-400ba2f636edf5afb14fe3b57f23d80e433d893d.zip |
prop224: Always note down the use of internal circuit
Also, this removes all the callsite of this rephist in the hs subsystem
Fixes #23097
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/circuituse.h')
-rw-r--r-- | src/or/circuituse.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/circuituse.h b/src/or/circuituse.h index ad4c214a3b..e66679586d 100644 --- a/src/or/circuituse.h +++ b/src/or/circuituse.h @@ -68,7 +68,8 @@ STATIC int circuit_is_available_for_use(const circuit_t *circ); STATIC int needs_exit_circuits(time_t now, int *port_needs_uptime, int *port_needs_capacity); -STATIC int needs_hs_server_circuits(int num_uptime_internal); +STATIC int needs_hs_server_circuits(time_t now, + int num_uptime_internal); STATIC int needs_hs_client_circuits(time_t now, int *needs_uptime, |