[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] The crowning hidden-service patch: prefer non-internal circ...
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] The crowning hidden-service patch: prefer non-internal circ...
- From: arma@xxxxxxxx (Roger Dingledine)
- Date: Thu, 20 Jan 2005 02:02:26 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Thu, 20 Jan 2005 02:02:58 -0500
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
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;
}