[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Remove from unlinked_remotes as well as remotes.
commit e4612f63338936cac508fdce7e3f3459213e37f4
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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:
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits