summaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-01-30 09:29:07 -0500
committerNick Mathewson <nickm@torproject.org>2020-01-30 09:29:07 -0500
commit7bd671811ec38e8126ffc17cb922f2397c572cda (patch)
tree167cc7e649fd7e61fc8702aabc6543e049d89b85 /changes
parentec7f99e6ef23f05d8fea4b8b63cc4f5ecc92eb33 (diff)
downloadtor-7bd671811ec38e8126ffc17cb922f2397c572cda.tar.gz
tor-7bd671811ec38e8126ffc17cb922f2397c572cda.zip
Rewrite control_event_signal() to use signal_table.
When we added the ACTIVE and DORMANT virtual signals, we taught the signal command to handle them, but we didn't teach SIGNAL event to report them. To solve this problem and prevent it from recurring, this patch revises the implementation of control_event_signal() to use the same signal_table that handle_control_signal() uses. This way, the two controller commands can't become out of sync. Fixes bug 33104; bugfix on 0.4.0.1-alpha.
Diffstat (limited to 'changes')
-rw-r--r--changes/bug331044
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug33104 b/changes/bug33104
new file mode 100644
index 0000000000..b5478df108
--- /dev/null
+++ b/changes/bug33104
@@ -0,0 +1,4 @@
+ o Minor bugfixes (controller):
+ - When receiving "ACTIVE" or "DORMANT" signals on the control port,
+ report them as SIGNAL events. Fixes bug 33104; bugfix on
+ 0.4.0.1-alpha.