aboutsummaryrefslogtreecommitdiff
path: root/src/or/bridges.h
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2017-11-22 01:50:46 +1100
committerteor <teor2345@gmail.com>2017-11-22 02:00:34 +1100
commit690f646bf8a5de9b099fb5295ba9ff252e5606f4 (patch)
treee45732bbcfbcde8fc5b3aa384f13ffc7a2d65cd3 /src/or/bridges.h
parentda82e0b5795c449f4442c87e065e9a60da4892a8 (diff)
downloadtor-690f646bf8a5de9b099fb5295ba9ff252e5606f4.tar.gz
tor-690f646bf8a5de9b099fb5295ba9ff252e5606f4.zip
Stop checking cached bridge descriptors for usable bridges
Stop checking for bridge descriptors when we actually want to know if any bridges are usable. This avoids potential bootstrapping issues. Fixes bug 24367; bugfix on 0.2.0.3-alpha. Stop stalling when bridges are changed at runtime. Stop stalling when old bridge descriptors are cached, but they are not in use. Fixes bug 24367; bugfix on 23347 in 0.3.2.1-alpha.
Diffstat (limited to 'src/or/bridges.h')
-rw-r--r--src/or/bridges.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/bridges.h b/src/or/bridges.h
index 263c7d51b2..54a6250259 100644
--- a/src/or/bridges.h
+++ b/src/or/bridges.h
@@ -45,7 +45,6 @@ void bridge_add_from_config(struct bridge_line_t *bridge_line);
void retry_bridge_descriptor_fetch_directly(const char *digest);
void fetch_bridge_descriptors(const or_options_t *options, time_t now);
void learned_bridge_descriptor(routerinfo_t *ri, int from_cache);
-MOCK_DECL(int, any_bridge_descriptors_known, (void));
const smartlist_t *get_socks_args_by_bridge_addrport(const tor_addr_t *addr,
uint16_t port);