mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Merge remote branch 'arma/bug1362'
This commit is contained in:
commit
31f22505a6
5
changes/bug1362
Normal file
5
changes/bug1362
Normal file
@ -0,0 +1,5 @@
|
||||
o Minor features:
|
||||
- When we run out of directory information such that we can't build
|
||||
circuits, but then get enough that we can build circuits, log when
|
||||
we actually construct a circuit, so the user has a better chance of
|
||||
knowing what's going on. Fixes bug 1362.
|
@ -4805,6 +4805,13 @@ update_router_have_minimum_dir_info(void)
|
||||
log(quiet ? LOG_INFO : LOG_NOTICE, LD_DIR,
|
||||
"Our directory information is no longer up-to-date "
|
||||
"enough to build circuits: %s", dir_info_status);
|
||||
|
||||
/* a) make us log when we next complete a circuit, so we know when Tor
|
||||
* is back up and usable, and b) disable some activities that Tor
|
||||
* should only do while circuits are working, like reachability tests
|
||||
* and fetching bridge descriptors only over circuits. */
|
||||
has_completed_circuit = 0;
|
||||
|
||||
control_event_client_status(LOG_NOTICE, "NOT_ENOUGH_DIR_INFO");
|
||||
}
|
||||
have_min_dir_info = res;
|
||||
|
Loading…
Reference in New Issue
Block a user