Remove comment complaining that we try to attach all streams to circs

It's inefficient, but the more efficient solution (only try to attach
streams aiming for this HS) would require far more complexity for a gain
that should be tiny.
This commit is contained in:
Robert Ransom 2011-12-06 19:24:55 -08:00 committed by Nick Mathewson
parent 832bfc3c46
commit 59b5379424

View File

@ -893,9 +893,6 @@ rend_client_receive_rendezvous(origin_circuit_t *circ, const uint8_t *request,
onion_append_to_cpath(&circ->cpath, hop); onion_append_to_cpath(&circ->cpath, hop);
circ->build_state->pending_final_cpath = NULL; /* prevent double-free */ circ->build_state->pending_final_cpath = NULL; /* prevent double-free */
/* XXXX023 This is a pretty brute-force approach. It'd be better to
* attach only the connections that are waiting on this circuit, rather
* than trying to attach them all. See comments bug 743. */
circuit_try_attaching_streams(circ); circuit_try_attaching_streams(circ);
memset(keys, 0, sizeof(keys)); memset(keys, 0, sizeof(keys));