mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
when requesting tor/server/authority, ask for tor/server/authority.z
instead. same functionality, saves a bit of bandwidth. and might even work. svn:r10896
This commit is contained in:
parent
8e50aa7341
commit
a916e07ea6
@ -2716,6 +2716,7 @@ routerinfo_get_configured_bridge(routerinfo_t *ri)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/** Return 1 if <b>ri</b> is one of our known bridges, else 0. */
|
||||
int
|
||||
routerinfo_is_a_configured_bridge(routerinfo_t *ri)
|
||||
{
|
||||
@ -2809,7 +2810,7 @@ fetch_bridge_descriptors(time_t now)
|
||||
1, bridge->identity,
|
||||
DIR_PURPOSE_FETCH_SERVERDESC,
|
||||
ROUTER_PURPOSE_BRIDGE,
|
||||
0, "authority", NULL, 0);
|
||||
0, "authority.z", NULL, 0);
|
||||
}
|
||||
} else {
|
||||
/* we have a digest and we want to ask an authority. */
|
||||
|
@ -615,7 +615,7 @@ consider_testing_reachability(int test_or, int test_dir)
|
||||
0, me->cache_info.identity_digest,
|
||||
DIR_PURPOSE_FETCH_SERVERDESC,
|
||||
ROUTER_PURPOSE_GENERAL,
|
||||
1, "authority", NULL, 0);
|
||||
1, "authority.z", NULL, 0);
|
||||
|
||||
control_event_server_status(LOG_NOTICE,
|
||||
"CHECKING_REACHABILITY DIRADDRESS=%s:%d",
|
||||
|
Loading…
Reference in New Issue
Block a user