diff options
author | Roger Dingledine <arma@torproject.org> | 2005-01-20 07:02:24 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-01-20 07:02:24 +0000 |
commit | a6e91f8157dff8f7f7c0d716bb1ab104195eca5e (patch) | |
tree | 23d26d8fd844516a5e561b7cf37c3861ffc30b98 | |
parent | 38be533c69417aacf28cedec1c3bae808ce29f48 (diff) | |
download | tor-a6e91f8157dff8f7f7c0d716bb1ab104195eca5e.tar.gz tor-a6e91f8157dff8f7f7c0d716bb1ab104195eca5e.zip |
The crowning hidden-service patch: prefer non-internal circuits
for normal connections, so we don't spend our internal circs on
other stuff and not have them when we need them.
svn:r3380
-rw-r--r-- | src/or/circuituse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c index d7295596d4..268f17b057 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -117,6 +117,7 @@ static int circuit_is_better(circuit_t *a, circuit_t *b, uint8_t purpose) return 1; } else { if (a->timestamp_dirty || + b->build_state->is_internal || a->timestamp_created > b->timestamp_created) return 1; } |