mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
post 0.0.9.x, demand that servers declare at least 20000 bytes/s
for bandwidthrate svn:r3277
This commit is contained in:
parent
4d30e2f4b8
commit
e6c1ab2daf
@ -1368,8 +1368,8 @@ options_validate(or_options_t *options)
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user