aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.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/connection_edge.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/connection_edge.c')
-rw-r--r--src/or/connection_edge.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index cb2afe1e86..a654b61711 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -2454,6 +2454,10 @@ connection_exit_begin_conn(cell_t *cell, circuit_t *circ)
assert_circuit_ok(circ);
connection_exit_connect(n_stream);
+
+ /* For path bias: This circuit was used successfully */
+ origin_circ->any_streams_succeeded = 1;
+
tor_free(address);
return 0;
}