mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-01 08:03:31 +01:00
Prop209: Rend circuits weren't ever marked dirty.
This commit is contained in:
parent
aa0e6e2c03
commit
428fbfc1d5
@ -2584,6 +2584,10 @@ rend_service_rendezvous_has_opened(origin_circuit_t *circuit)
|
|||||||
tor_assert(!(circuit->build_state->onehop_tunnel));
|
tor_assert(!(circuit->build_state->onehop_tunnel));
|
||||||
#endif
|
#endif
|
||||||
tor_assert(circuit->rend_data);
|
tor_assert(circuit->rend_data);
|
||||||
|
|
||||||
|
/* Declare the circuit dirty to avoid reuse, and for path-bias */
|
||||||
|
circuit->base_.timestamp_dirty = time(NULL);
|
||||||
|
|
||||||
hop = circuit->build_state->service_pending_final_cpath_ref->cpath;
|
hop = circuit->build_state->service_pending_final_cpath_ref->cpath;
|
||||||
|
|
||||||
base16_encode(hexcookie,9,circuit->rend_data->rend_cookie,4);
|
base16_encode(hexcookie,9,circuit->rend_data->rend_cookie,4);
|
||||||
|
Loading…
Reference in New Issue
Block a user