diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-03-30 15:20:06 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-03-30 15:20:06 -0400 |
commit | 5193752ca88849878a0843cec1e81c6b4b05e550 (patch) | |
tree | 2e2de92d708917b628795cf35232ffedb7dc1617 /src/or/dirserv.h | |
parent | 458718d4975661831fa21d9f2653932e17c1bae0 (diff) | |
download | tor-5193752ca88849878a0843cec1e81c6b4b05e550.tar.gz tor-5193752ca88849878a0843cec1e81c6b4b05e550.zip |
Exits don't need to fetch certs for unknown authorities
When we started RefuseUnknownExits back in 0.2.2.11-alpha, we
started making exits act like they cache directory info (since they
need an up-to-date idea of who is really a router). But this
included fetching needless (unrecognized) authorities' certs, which
doesn't make any sense for them.
This is related to, but not necessarily the same as, the issue that
Ian reported for bug #2297.
(This patch is based on a patch from a user who I believe has asked
not to be named. If I'm wrong about that, please add the
appropriate name onto the changelog.)
Diffstat (limited to 'src/or/dirserv.h')
-rw-r--r-- | src/or/dirserv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/dirserv.h b/src/or/dirserv.h index fc48e489e8..3ff08157e0 100644 --- a/src/or/dirserv.h +++ b/src/or/dirserv.h @@ -76,6 +76,7 @@ int directory_fetches_dir_info_early(const or_options_t *options); int directory_fetches_dir_info_later(const or_options_t *options); int directory_caches_v2_dir_info(const or_options_t *options); #define directory_caches_v1_dir_info(o) directory_caches_v2_dir_info(o) +int directory_caches_unknown_auth_certs(const or_options_t *options); int directory_caches_dir_info(const or_options_t *options); int directory_permits_begindir_requests(const or_options_t *options); int directory_permits_controller_requests(const or_options_t *options); |