diff options
author | Mike Perry <mikeperry-git@fscked.org> | 2012-11-17 17:51:27 -0800 |
---|---|---|
committer | Mike Perry <mikeperry-git@fscked.org> | 2012-12-07 15:28:38 -0800 |
commit | aa0e6e2c0337c5ddfc9f64ed593d8a59b3c4cb44 (patch) | |
tree | d53603ce35e8c65a151306cb4991e74b2a2a7225 /src/or/rendservice.c | |
parent | 412ae099cb656ab47fc8cbb408aa5f4cee956961 (diff) | |
download | tor-aa0e6e2c0337c5ddfc9f64ed593d8a59b3c4cb44.tar.gz tor-aa0e6e2c0337c5ddfc9f64ed593d8a59b3c4cb44.zip |
Prop 209: Add in hidserv path bias counts for usage.
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r-- | src/or/rendservice.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 09792bd1d7..775edd6046 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; |