[or-cvs] The crowning hidden-service patch: prefer non-internal circ...
Roger Dingledine
arma at seul.org
Thu Jan 20 07:02:26 UTC 2005
Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or
Modified Files:
circuituse.c
Log Message:
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.
Index: circuituse.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/circuituse.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- circuituse.c 19 Jan 2005 23:15:59 -0000 1.46
+++ circuituse.c 20 Jan 2005 07:02:24 -0000 1.47
@@ -117,6 +117,7 @@
return 1;
} else {
if (a->timestamp_dirty ||
+ b->build_state->is_internal ||
a->timestamp_created > b->timestamp_created)
return 1;
}
More information about the tor-commits
mailing list