Commit f80bb472 authored by anonym's avatar anonym
Browse files

tor-controlport-filter: suppress events that were rewritten to whitespaces only.

parent e4580a0f
......@@ -366,6 +366,8 @@ def handle_controlport_session(controller, readh, writeh, client_desc, client_pi
'received event', raw_event_content, new_raw_event_content
raw_event_content = new_raw_event_content
if raw_event_content.strip() == '':
respond(raw_event_content, raw=True)
def update_event_subscriptions(events):
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