[tor-commits] [tor/master] Prop209: Rend circuits weren't ever marked dirty.
nickm at torproject.org
nickm at torproject.org
Wed Dec 26 04:34:55 UTC 2012
commit 428fbfc1d5616b40b90a028813151a5d62f3493c
Author: Mike Perry <mikeperry-git at fscked.org>
Date: Mon Nov 19 10:45:47 2012 -0800
Prop209: Rend circuits weren't ever marked dirty.
---
src/or/rendservice.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 775edd6..74e4bad 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -2584,6 +2584,10 @@ rend_service_rendezvous_has_opened(origin_circuit_t *circuit)
tor_assert(!(circuit->build_state->onehop_tunnel));
#endif
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;
base16_encode(hexcookie,9,circuit->rend_data->rend_cookie,4);
More information about the tor-commits
mailing list