mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Correct bogus comments
The behaviour of rend_services_introduce here is likely as bogus as the comments were.
This commit is contained in:
parent
290b4dc3d6
commit
e46d56a9b4
@ -1961,14 +1961,15 @@ rend_services_introduce(void)
|
||||
smartlist_add(intro_routers, router);
|
||||
}
|
||||
|
||||
/* We have enough intro points, and the intro points we thought we had were
|
||||
* all connected.
|
||||
*/
|
||||
if (!intro_point_set_changed &&
|
||||
(smartlist_len(service->intro_nodes) >=
|
||||
(int)service->n_intro_points_wanted)) { /*XXX023 remove cast*/
|
||||
/* We have all our intro points! Start a fresh period and reset the
|
||||
* circuit count. */
|
||||
/* We have enough intro circuits in progress, and none of our
|
||||
* intro circuits have died since the last call to
|
||||
* rend_services_introduce! Start a fresh period and reset the
|
||||
* circuit count.
|
||||
*
|
||||
* XXXX WTF? */
|
||||
service->intro_period_started = now;
|
||||
service->n_intro_circuits_launched = 0;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user