mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Merge remote-tracking branch 'arma/bug6759'
This commit is contained in:
commit
05ded76cb6
6
changes/bug6759
Normal file
6
changes/bug6759
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
o Minor bugfixes:
|
||||||
|
- Don't log about reloading the microdescriptor cache at startup. Our
|
||||||
|
bootstrap warnings are supposed to tell the user when there's a
|
||||||
|
problem, and our bootstrap notices say when there isn't. Fixes
|
||||||
|
bug 6759; bugfix on 0.2.2.6-alpha.
|
||||||
|
|
@ -466,7 +466,7 @@ static config_var_t _option_vars[] = {
|
|||||||
/** Override default values with these if the user sets the TestingTorNetwork
|
/** Override default values with these if the user sets the TestingTorNetwork
|
||||||
* option. */
|
* option. */
|
||||||
static const config_var_t testing_tor_network_defaults[] = {
|
static const config_var_t testing_tor_network_defaults[] = {
|
||||||
V(ServerDNSAllowBrokenConfig, BOOL, "1"),
|
V(ServerDNSAllowBrokenConfig, BOOL, "1"),
|
||||||
V(DirAllowPrivateAddresses, BOOL, "1"),
|
V(DirAllowPrivateAddresses, BOOL, "1"),
|
||||||
V(EnforceDistinctSubnets, BOOL, "0"),
|
V(EnforceDistinctSubnets, BOOL, "0"),
|
||||||
V(AssumeReachable, BOOL, "1"),
|
V(AssumeReachable, BOOL, "1"),
|
||||||
|
@ -323,8 +323,8 @@ microdesc_cache_reload(microdesc_cache_t *cache)
|
|||||||
}
|
}
|
||||||
tor_free(journal_content);
|
tor_free(journal_content);
|
||||||
}
|
}
|
||||||
log_notice(LD_DIR, "Reloaded microdescriptor cache. Found %d descriptors.",
|
log_info(LD_DIR, "Reloaded microdescriptor cache. Found %d descriptors.",
|
||||||
total);
|
total);
|
||||||
|
|
||||||
microdesc_cache_rebuild(cache, 0 /* don't force */);
|
microdesc_cache_rebuild(cache, 0 /* don't force */);
|
||||||
|
|
||||||
@ -653,7 +653,7 @@ microdesc_list_missing_digest256(networkstatus_t *ns, microdesc_cache_t *cache,
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Launch download requests for mircodescriptors as appropriate.
|
/** Launch download requests for microdescriptors as appropriate.
|
||||||
*
|
*
|
||||||
* Specifically, we should launch download requests if we are configured to
|
* Specifically, we should launch download requests if we are configured to
|
||||||
* download mirodescriptors, and there are some microdescriptors listed the
|
* download mirodescriptors, and there are some microdescriptors listed the
|
||||||
|
Loading…
Reference in New Issue
Block a user