diff options
author | Mike Perry <mikeperry-git@torproject.org> | 2020-06-12 01:05:29 -0500 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2020-06-23 20:31:26 +0300 |
commit | ad1f8b70b70107ad3e62b6c832bed044de06d6ea (patch) | |
tree | 75e9723ee1ea32c0ca453ea57c6110a09128367f /src/feature/control | |
parent | 6ec01c5f728b0daddebaf8e5364ce0b34027fb5e (diff) | |
download | tor-ad1f8b70b70107ad3e62b6c832bed044de06d6ea.tar.gz tor-ad1f8b70b70107ad3e62b6c832bed044de06d6ea.zip |
Mark state file dirty upon DROPTIMEOUTS command
Diffstat (limited to 'src/feature/control')
-rw-r--r-- | src/feature/control/control_cmd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/feature/control/control_cmd.c b/src/feature/control/control_cmd.c index 74d542ec6d..ff1014632d 100644 --- 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); |