[or-cvs] r17111: {tor} explain patch4 better. whee. (tor/trunk/src/or)
arma at seul.org
arma at seul.org
Wed Oct 15 21:12:52 UTC 2008
Author: arma
Date: 2008-10-15 17:12:51 -0400 (Wed, 15 Oct 2008)
New Revision: 17111
Modified:
tor/trunk/src/or/rendservice.c
Log:
explain patch4 better. whee.
Modified: tor/trunk/src/or/rendservice.c
===================================================================
--- tor/trunk/src/or/rendservice.c 2008-10-15 20:59:48 UTC (rev 17110)
+++ tor/trunk/src/or/rendservice.c 2008-10-15 21:12:51 UTC (rev 17111)
@@ -1857,9 +1857,16 @@
/* Remember how many introduction circuits we started with. */
prev_intro_nodes = smartlist_len(service->intro_nodes);
- /* The directory is now here. Pick three ORs as intro points (plus, if
- * we currently have none at all, two more so that we can pick the first
- * three that complete). */
+ /* We have enough directory information to start establishing our
+ * intro points. We want to end up with three intro points, but if
+ * we're just starting, we launch five and pick the first three that
+ * complete.
+ *
+ * The ones after the first three will be converted to 'general'
+ * internal circuits in rend_service_intro_has_opened(), and then
+ * we'll drop them from the list of intro points next time we
+ * go through the above "find out which introduction points we have
+ * in progress" loop. */
#define NUM_INTRO_POINTS_INIT (NUM_INTRO_POINTS + 2)
for (j=prev_intro_nodes; j < (prev_intro_nodes == 0 ?
NUM_INTRO_POINTS_INIT : NUM_INTRO_POINTS); ++j) {
More information about the tor-commits
mailing list