mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user