|
@@ -1035,7 +1035,6 @@ static void
|
|
|
rend_service_update_descriptor(rend_service_t *service)
|
|
|
{
|
|
|
rend_service_descriptor_t *d;
|
|
|
- origin_circuit_t *circ;
|
|
|
int i;
|
|
|
|
|
|
rend_service_descriptor_free(service->desc);
|
|
@@ -1056,9 +1055,10 @@ rend_service_update_descriptor(rend_service_t *service)
|
|
|
|
|
|
intro_svc->listed_in_last_desc = 0;
|
|
|
|
|
|
- circ = find_intro_circuit(intro_svc, service->pk_digest);
|
|
|
- if (!circ || circ->base_.purpose != CIRCUIT_PURPOSE_S_INTRO) {
|
|
|
-
|
|
|
+
|
|
|
+ * checked every second in rend_consider_services_intro_points(), so it's
|
|
|
+ * safe to use it here */
|
|
|
+ if (!intro_svc->circuit_established) {
|
|
|
continue;
|
|
|
}
|
|
|
|