mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Authorities also advertise caches-extra-info
(Whoops, thought I had committed this before) Improvement to 11683 fix. Based on patch from Karsten.
This commit is contained in:
parent
922be84ca3
commit
456184c2a0
@ -3,4 +3,6 @@
|
|||||||
documents, regardless of whether their server descriptor contains a
|
documents, regardless of whether their server descriptor contains a
|
||||||
"caches-extra-info" line or not. Fixes part of #11683. Bugfix on
|
"caches-extra-info" line or not. Fixes part of #11683. Bugfix on
|
||||||
0.2.0.1-alpha.
|
0.2.0.1-alpha.
|
||||||
|
- When running as a v3 directory authority, advertise that you serve
|
||||||
|
extra-info documents so that clients who want them can find them from
|
||||||
|
you too. Fixes part of bug #11683. Bugfix on 0.2.0.1-alpha.
|
||||||
|
@ -2371,7 +2371,8 @@ router_dump_router_to_string(routerinfo_t *router,
|
|||||||
has_extra_info_digest ? "extra-info-digest " : "",
|
has_extra_info_digest ? "extra-info-digest " : "",
|
||||||
has_extra_info_digest ? extra_info_digest : "",
|
has_extra_info_digest ? extra_info_digest : "",
|
||||||
has_extra_info_digest ? "\n" : "",
|
has_extra_info_digest ? "\n" : "",
|
||||||
options->DownloadExtraInfo ? "caches-extra-info\n" : "",
|
(options->DownloadExtraInfo || options->V3AuthoritativeDir) ?
|
||||||
|
"caches-extra-info\n" : "",
|
||||||
onion_pkey, identity_pkey,
|
onion_pkey, identity_pkey,
|
||||||
family_line,
|
family_line,
|
||||||
we_are_hibernating() ? "hibernating 1\n" : "",
|
we_are_hibernating() ? "hibernating 1\n" : "",
|
||||||
|
Loading…
Reference in New Issue
Block a user