From: Mike Perry Date: Mon, 19 Nov 2012 18:45:47 +0000 (-0800) Subject: Prop209: Rend circuits weren't ever marked dirty. X-Git-Tag: tor-0.2.4.8-alpha~18^2~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=428fbfc1d5616b40b90a028813151a5d62f3493c;p=thirdparty%2Ftor.git Prop209: Rend circuits weren't ever marked dirty. --- diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 775edd6046..74e4bada92 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);