aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-07-22 05:29:31 +0000
committerRoger Dingledine <arma@torproject.org>2006-07-22 05:29:31 +0000
commit444f096d2d624378514b712c78e060ab523e6cea (patch)
treefc94c0a6dc6e8df54e180c85331852e7a68e743a /src/or/config.c
parent64c14d8ce33295ea800e5eb4cd9f702ae87765b8 (diff)
downloadtor-444f096d2d624378514b712c78e060ab523e6cea.tar
tor-444f096d2d624378514b712c78e060ab523e6cea.tar.gz
more bulletproof reachability testing
svn:r6804
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index fcca7acf9..e0dd745a9 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -796,7 +796,8 @@ options_act(or_options_t *old_options)
return -1;
}
server_has_changed_ip();
- if (has_completed_circuit)
+ if (has_completed_circuit ||
+ rep_hist_circbuilding_dormant(time(NULL)))
inform_testing_reachability();
}
cpuworkers_rotate();