mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 14:40:51 +01:00
whitespace fixes
This commit is contained in:
parent
f1d74f611d
commit
b9f1bd3c4e
2 changed files with 5 additions and 5 deletions
|
@ -1433,10 +1433,10 @@
|
|||
per second, and capped at some arbitrary value (currently 10 MB/s).
|
||||
|
||||
The Measured= keyword on a "w" line vote is currently computed
|
||||
by multiplying the previous published consensus bandwidth by the
|
||||
ratio of the measured average node stream capacity to the network
|
||||
average. If 3 or more authorities provide a Measured= keyword for
|
||||
a router, the authorities produce a consensus containing a "w"
|
||||
by multiplying the previous published consensus bandwidth by the
|
||||
ratio of the measured average node stream capacity to the network
|
||||
average. If 3 or more authorities provide a Measured= keyword for
|
||||
a router, the authorities produce a consensus containing a "w"
|
||||
Bandwidth= keyword equal to the median of the Measured= votes.
|
||||
|
||||
The ports listed in a "p" line should be taken as those ports for
|
||||
|
|
|
@ -2261,7 +2261,7 @@ connection_bucket_refill(int seconds_elapsed, time_t now)
|
|||
if (conn->write_blocked_on_bw == 1
|
||||
&& global_write_bucket > 0 /* and we're allowed to write */
|
||||
&& (!connection_counts_as_relayed_traffic(conn, now) ||
|
||||
global_relayed_write_bucket > 0) /* even if we're relayed traffic */
|
||||
global_relayed_write_bucket > 0) /* even if it's relayed traffic */
|
||||
&& (!connection_speaks_cells(conn) ||
|
||||
conn->state != OR_CONN_STATE_OPEN ||
|
||||
TO_OR_CONN(conn)->write_bucket > 0)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue