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

[tor-commits] [tor/master] Mark descriptor as dirty if all managed proxies are configured.



commit ca4e986c1d7fc806c8b9b6cb580ae8e6a51f8857
Author: George Kadianakis <desnacked@xxxxxxxxxx>
Date:   Thu Feb 23 17:51:54 2012 -0800

    Mark descriptor as dirty if all managed proxies are configured.
---
 src/or/transports.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/or/transports.c b/src/or/transports.c
index e5a5446..26bb260 100644
--- a/src/or/transports.c
+++ b/src/or/transports.c
@@ -572,6 +572,9 @@ pt_configure_remaining_proxies(void)
   smartlist_free(tmp);
   check_if_restarts_needed = 0;
   assert_unconfigured_count_ok();
+
+  if (!pt_proxies_configuration_pending())
+    mark_my_descriptor_dirty("configured managed proxies");
 }
 
 #ifdef _WIN32



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