[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] post 0.0.9.x, demand that servers declare at least 20000 by...
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] post 0.0.9.x, demand that servers declare at least 20000 by...
- From: arma@xxxxxxxx (Roger Dingledine)
- Date: Mon, 3 Jan 2005 22:46:52 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Mon, 03 Jan 2005 22:47:18 -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:
config.c
Log Message:
post 0.0.9.x, demand that servers declare at least 20000 bytes/s
for bandwidthrate
Index: config.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.292
retrieving revision 1.293
diff -u -d -r1.292 -r1.293
--- config.c 4 Jan 2005 02:25:36 -0000 1.292
+++ config.c 4 Jan 2005 03:46:50 -0000 1.293
@@ -1368,8 +1368,8 @@
result = -1;
}
if (server_mode(options) &&
- options->BandwidthRate < ROUTER_REQUIRED_MIN_BANDWIDTH) {
- log(LOG_WARN,"BandwidthRate is set to %d bytes/second. For servers, it must be at least %d.", (int)options->BandwidthRate, ROUTER_REQUIRED_MIN_BANDWIDTH);
+ options->BandwidthRate < ROUTER_REQUIRED_MIN_BANDWIDTH*2) {
+ log(LOG_WARN,"BandwidthRate is set to %d bytes/second. For servers, it must be at least %d.", (int)options->BandwidthRate, ROUTER_REQUIRED_MIN_BANDWIDTH*2);
result = -1;
}