[tor-commits] [flashproxy/master] Remove from unlinked_remotes as well as remotes.
dcf at torproject.org
dcf at torproject.org
Mon Apr 9 04:08:42 UTC 2012
commit e4612f63338936cac508fdce7e3f3459213e37f4
Author: David Fifield <david at bamsoftware.com>
Date: Sat Mar 31 15:39:04 2012 -0700
Remove from unlinked_remotes as well as remotes.
---
connector.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/connector.py b/connector.py
index 24630f3..89455ad 100755
--- a/connector.py
+++ b/connector.py
@@ -689,6 +689,7 @@ def main():
else:
if not receive_unlinked(fd, "remote"):
remotes.remove(fd)
+ unlinked_remotes.remove(fd)
report_pending()
elif fd in locals:
remote = fd.partner
@@ -699,6 +700,7 @@ def main():
else:
if not receive_unlinked(fd, "local"):
locals.remove(fd)
+ unlinked_locals.remove(fd)
report_pending()
match_proxies()
while websocket_pending:
More information about the tor-commits
mailing list