aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.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/rendservice.c
parent412ae099cb656ab47fc8cbb408aa5f4cee956961 (diff)
downloadtor-aa0e6e2c0337c5ddfc9f64ed593d8a59b3c4cb44.tar
tor-aa0e6e2c0337c5ddfc9f64ed593d8a59b3c4cb44.tar.gz
Prop 209: Add in hidserv path bias counts for usage.
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 09792bd1d..775edd604 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -1383,6 +1383,9 @@ rend_service_introduce(origin_circuit_t *circuit, const uint8_t *request,
if (circuit_init_cpath_crypto(cpath,keys+DIGEST_LEN,1)<0)
goto err;
memcpy(cpath->handshake_digest, keys, DIGEST_LEN);
+
+ /* For path bias: This circuit was used successfully */
+ circuit->any_streams_succeeded = 1;
goto done;