mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
if dirservers set assumereachable, it overrides their individual
reachability testing svn:r4851
This commit is contained in:
parent
61f728f4fe
commit
f3bccdce73
@ -587,7 +587,8 @@ list_server_status(smartlist_t *routers, char **router_status_out)
|
||||
if (router_is_me(ri) && !we_are_hibernating()) {
|
||||
is_live = 1;
|
||||
} else if (conn && conn->state == OR_CONN_STATE_OPEN) {
|
||||
is_live = now < ri->last_reachable + REACHABLE_TIMEOUT;
|
||||
is_live = get_options()->AssumeReachable ||
|
||||
now < ri->last_reachable + REACHABLE_TIMEOUT;
|
||||
}
|
||||
} else {
|
||||
is_live = ri->is_running;
|
||||
|
Loading…
Reference in New Issue
Block a user