aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-07-29 22:13:44 +0000
committerRoger Dingledine <arma@torproject.org>2007-07-29 22:13:44 +0000
commitca7c53d3cc93c71ee1c5d268cbfd3c48dfb1848f (patch)
tree7813c499176f38180fce80004fa7bb23c25b6929 /src/or/circuitbuild.c
parent70f1c257294e5712b2a1128d9a9a98424972048b (diff)
downloadtor-ca7c53d3cc93c71ee1c5d268cbfd3c48dfb1848f.tar
tor-ca7c53d3cc93c71ee1c5d268cbfd3c48dfb1848f.tar.gz
Be even more aggressive about separating local traffic from relayed
traffic when RelayBandwidthRate is set. (Refines proposal 111.) svn:r10974
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r--src/or/circuitbuild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 58879674c..fd99c0f51 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -502,7 +502,7 @@ circuit_deliver_create_cell(circuit_t *circ, uint8_t cell_type,
append_cell_to_circuit_queue(circ, circ->n_conn, &cell, CELL_DIRECTION_OUT);
/* mark it so it gets better rate limiting treatment. */
- circ->n_conn->client_used = 1;
+ circ->n_conn->client_used = time(NULL);
return 0;
}