[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [flashproxy/master] Don't re-register if we already have unlinked remotes.



commit ad673b7d864054d9d483d5905daab41e3f0687dc
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Wed Dec 12 02:55:13 2012 -0800

    Don't re-register if we already have unlinked remotes.
---
 flashproxy-client |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/flashproxy-client b/flashproxy-client
index 0aa51d4..3ce327e 100755
--- a/flashproxy-client
+++ b/flashproxy-client
@@ -720,7 +720,8 @@ def registration_thread_func():
         register_condvar.acquire()
         register_condvar.wait()
         register_condvar.release()
-        register_one()
+        if not unlinked_remotes:
+            register_one()
 
 def proxy_chunk_local_to_remote(local, remote, data = None):
     if data is None:

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits