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

dcf at torproject.org dcf at torproject.org
Wed Dec 12 11:41:52 UTC 2012


commit ad673b7d864054d9d483d5905daab41e3f0687dc
Author: David Fifield <david at bamsoftware.com>
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:



More information about the tor-commits mailing list