mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
other minor fixes lurking in my sandbox
svn:r9854
This commit is contained in:
+1
-1
@@ -218,7 +218,7 @@ def run():
|
||||
opts, pargs = getopt.getopt(sys.argv[1:], "vx")
|
||||
except getopt.GetoptError, e:
|
||||
print """
|
||||
usage: %s [-v] [-x] [host:port [host:port [...]]]
|
||||
usage: cat ~/.tor/cached-routers* | %s [-v] [-x] [host:port [host:port [...]]]
|
||||
-v verbose output
|
||||
-x invert results
|
||||
""" % sys.argv[0]
|
||||
|
||||
@@ -21,7 +21,7 @@ Motivation:
|
||||
they're limited to the same download capacity as upload capacity. And
|
||||
they have to enable rate limiting, or their upstream pipe gets filled
|
||||
up, starts dropping packets, and now their net connection doesn't work
|
||||
even for non-Tor stuff. So they end up turning off the relaying part.
|
||||
even for non-Tor stuff. So they end up turning off the relaying part
|
||||
so they can use Tor (and other applications) again.
|
||||
|
||||
So far this hasn't mattered that much: most of our fast relays are
|
||||
|
||||
+1
-1
@@ -2093,7 +2093,7 @@ connection_dirserv_stop_blocking_all_on_or_conn(or_connection_t *or_conn)
|
||||
{
|
||||
dir_connection_t *dir_conn, *next;
|
||||
|
||||
dir_conn=or_conn->blocked_dir_connections;
|
||||
dir_conn = or_conn->blocked_dir_connections;
|
||||
while (dir_conn) {
|
||||
next = dir_conn->next_blocked_on_same_or_conn;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user