diff options
author | Mike Perry <mikeperry-git@fscked.org> | 2012-11-19 10:45:47 -0800 |
---|---|---|
committer | Mike Perry <mikeperry-git@fscked.org> | 2012-12-07 15:28:38 -0800 |
commit | 428fbfc1d5616b40b90a028813151a5d62f3493c (patch) | |
tree | 825cb9055307f1125aad8354c243c06e0447b96a /src/or/rendservice.c | |
parent | aa0e6e2c0337c5ddfc9f64ed593d8a59b3c4cb44 (diff) | |
download | tor-428fbfc1d5616b40b90a028813151a5d62f3493c.tar.gz tor-428fbfc1d5616b40b90a028813151a5d62f3493c.zip |
Prop209: Rend circuits weren't ever marked dirty.
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r-- | 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 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); |