Commit 01316898 authored by anonym's avatar anonym
Browse files

tor-controlport-filter: propely log disconnects.

parent d8f24d0e
......@@ -466,10 +466,7 @@ class FilteredControlPortProxyHandler(socketserver.StreamRequestHandler):
disconnect_reason = str(err)
finally:
controller.close()
log('{} (PID: {}, user: {}) disconnected: {}'
.format(client_exe_path, client_pid, client_user,
disconnect_reason)
)
log('{} disconnected: {}'.format(client_desc, disconnect_reason))
class FilteredControlPortProxy(socketserver.ThreadingTCPServer):
......
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