diff options
author | David Goulet <dgoulet@torproject.org> | 2016-12-21 13:35:22 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2016-12-21 15:00:19 -0500 |
commit | 36b5ca2c8b07f4cbdb1b76e9fb0c10fff3d540ac (patch) | |
tree | a1b27a1919a12b15b443c400b4a53c3384ad92de /src/or/rendservice.h | |
parent | 8a05e1a5d2227b0333940d004b97b1c96fa9d991 (diff) | |
download | tor-36b5ca2c8b07f4cbdb1b76e9fb0c10fff3d540ac.tar.gz tor-36b5ca2c8b07f4cbdb1b76e9fb0c10fff3d540ac.zip |
hs: Move and improve the service pruning code
First, this commit moves the code used to prune the service list when
reloading Tor (HUP signal for instance) to a function from
rend_config_services().
Second, fix bug #21054, improve the code by using the newly added
circuit_get_next_service_intro_circ() function instead of poking at the global
list directly and add _many_ more comments.
Fixes #21054.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/rendservice.h')
0 files changed, 0 insertions, 0 deletions