From aa0e6e2c0337c5ddfc9f64ed593d8a59b3c4cb44 Mon Sep 17 00:00:00 2001 From: Mike Perry Date: Sat, 17 Nov 2012 17:51:27 -0800 Subject: Prop 209: Add in hidserv path bias counts for usage. --- src/or/connection_edge.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/or/connection_edge.c') 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; } -- cgit v1.2.3-54-g00ecf