mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
note a design flaw that i should fix somehow
svn:r11889
This commit is contained in:
parent
b597ce2ae0
commit
3d9bf8c912
@ -315,6 +315,8 @@ directory_get_from_dirserver(uint8_t dir_purpose, uint8_t router_purpose,
|
||||
if (!get_via_tor) {
|
||||
if (options->UseBridges && type != BRIDGE_AUTHORITY) {
|
||||
/* want to ask a running bridge for which we have a descriptor. */
|
||||
/* XXX020 we assume that all of our bridges can answer any
|
||||
* possible directory question. This won't be true forever. -RD */
|
||||
routerinfo_t *ri = choose_random_entry(NULL);
|
||||
if (ri) {
|
||||
directory_initiate_command(ri->address, ri->addr,
|
||||
|
Loading…
Reference in New Issue
Block a user