summaryrefslogtreecommitdiff
path: root/src/or/rendclient.c
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2012-11-17 17:51:27 -0800
committerMike Perry <mikeperry-git@fscked.org>2012-12-07 15:28:38 -0800
commitaa0e6e2c0337c5ddfc9f64ed593d8a59b3c4cb44 (patch)
treed53603ce35e8c65a151306cb4991e74b2a2a7225 /src/or/rendclient.c
parent412ae099cb656ab47fc8cbb408aa5f4cee956961 (diff)
downloadtor-aa0e6e2c0337c5ddfc9f64ed593d8a59b3c4cb44.tar.gz
tor-aa0e6e2c0337c5ddfc9f64ed593d8a59b3c4cb44.zip
Prop 209: Add in hidserv path bias counts for usage.
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r--src/or/rendclient.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index 3fb4025e69..ec43041b1a 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -378,6 +378,9 @@ rend_client_introduction_acked(origin_circuit_t *circ,
* it to specify when a circuit entered the
* _C_REND_READY_INTRO_ACKED state. */
rendcirc->base_.timestamp_dirty = time(NULL);
+
+ /* For path bias: This circuit was used successfully */
+ circ->any_streams_succeeded = 1;
} else {
log_info(LD_REND,"...Found no rend circ. Dropping on the floor.");
}