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

tor-controlport-filter: add back code that got lost.

parent 6f59b1b1
......@@ -309,6 +309,7 @@ class FilteredControlPortProxyHandler(socketserver.StreamRequestHandler):
client_pid = pid_of_laddr(self.client_address)
# Deal with the race between looking up the PID, and the
# client being killed before we find the PID.
if not client_pid: return
client_exe_path = exe_path_of_pid(client_pid)
client_user = psutil.Process(client_pid).username()
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