From a6e91f8157dff8f7f7c0d716bb1ab104195eca5e Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Thu, 20 Jan 2005 07:02:24 +0000 Subject: [PATCH] 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 --- src/or/circuituse.c | 1 + 1 file changed, 1 insertion(+) 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; }