mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
Merge branch 'maint-0.2.2'
This commit is contained in:
commit
8d1fe50284
6
changes/bug1981
Normal file
6
changes/bug1981
Normal file
@ -0,0 +1,6 @@
|
||||
o Major bugfixes:
|
||||
- When you use bridges and your network goes away and your bridges
|
||||
get marked as down, recover when you attempt a new socks connection
|
||||
(if the network is back) rather than waiting up to an hour to try
|
||||
fetching new descriptors for your bridges. Bugfix on 0.2.0.3-alpha;
|
||||
fixes bug 1981.
|
@ -4551,6 +4551,10 @@ learned_bridge_descriptor(routerinfo_t *ri, int from_cache)
|
||||
add_an_entry_guard(ri, 1);
|
||||
log_notice(LD_DIR, "new bridge descriptor '%s' (%s)", ri->nickname,
|
||||
from_cache ? "cached" : "fresh");
|
||||
/* set entry->made_contact so if it goes down we don't drop it from
|
||||
* our entry node list */
|
||||
entry_guard_register_connect_status(ri->cache_info.identity_digest,
|
||||
1, 0, now);
|
||||
if (first)
|
||||
routerlist_retry_directory_downloads(now);
|
||||
}
|
||||
@ -4616,7 +4620,8 @@ bridges_retry_helper(int act)
|
||||
}
|
||||
}
|
||||
});
|
||||
log_debug(LD_DIR, "any_known %d, any_running %d", any_known, any_running);
|
||||
log_debug(LD_DIR, "%d: any_known %d, any_running %d",
|
||||
act, any_known, any_running);
|
||||
return any_known && !any_running;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user