Commit 4f5fc157 authored by anonym's avatar anonym
Browse files

tor-controlport-filter: also log SETEVENTS in complain mode.

parent d5fe545f
......@@ -181,6 +181,8 @@ def handle_controlport_session(controller, readh, writeh, allowed_commands, allo
# events it requested, but we will only let through allowed
# events.
elif cmd == "SETEVENTS":
if global_args.complain:
log('-> SETEVENTS {}'.format(' '.join(args)))
for listener in subscribed_event_listeners:
controller.remove_event_listener(listener)
subscribed_event_listeners = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment