tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit ad1f8b70b70107ad3e62b6c832bed044de06d6ea
parent 6ec01c5f728b0daddebaf8e5364ce0b34027fb5e
Author: Mike Perry <mikeperry-git@torproject.org>
Date:   Fri, 12 Jun 2020 01:05:29 -0500

Mark state file dirty upon DROPTIMEOUTS command

Diffstat:
Msrc/feature/control/control_cmd.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/feature/control/control_cmd.c b/src/feature/control/control_cmd.c @@ -57,6 +57,8 @@ #include "feature/rend/rend_encoded_v2_service_descriptor_st.h" #include "feature/rend/rend_service_descriptor_st.h" +#include "src/app/config/statefile.h" + static int control_setconf_helper(control_connection_t *conn, const control_cmd_args_t *args, int use_defaults); @@ -1419,6 +1421,7 @@ handle_control_droptimeouts(control_connection_t *conn, circuit_build_times_reset(get_circuit_build_times_mutable()); send_control_done(conn); + or_state_mark_dirty(get_or_state(), 0); cbt_control_event_buildtimeout_set(get_circuit_build_times(), BUILDTIMEOUT_SET_EVENT_RESET);