mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Merge branch 'maint-0.4.0'
This commit is contained in:
commit
847fc3280d
4
changes/bug29930
Normal file
4
changes/bug29930
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
o Minor bugfixes (UI):
|
||||||
|
- Lower log level of unlink() errors during bootstrap. Fixes bug 29930;
|
||||||
|
bugfix on 0.4.0.1-alpha.
|
||||||
|
|
@ -2034,7 +2034,7 @@ networkstatus_set_current_consensus(const char *consensus,
|
|||||||
* latest consensus. */
|
* latest consensus. */
|
||||||
if (was_waiting_for_certs && from_cache)
|
if (was_waiting_for_certs && from_cache)
|
||||||
if (unlink(unverified_fname) != 0) {
|
if (unlink(unverified_fname) != 0) {
|
||||||
log_warn(LD_FS,
|
log_debug(LD_FS,
|
||||||
"Failed to unlink %s: %s",
|
"Failed to unlink %s: %s",
|
||||||
unverified_fname, strerror(errno));
|
unverified_fname, strerror(errno));
|
||||||
}
|
}
|
||||||
@ -2049,7 +2049,7 @@ networkstatus_set_current_consensus(const char *consensus,
|
|||||||
}
|
}
|
||||||
if (was_waiting_for_certs && (r < -1) && from_cache) {
|
if (was_waiting_for_certs && (r < -1) && from_cache) {
|
||||||
if (unlink(unverified_fname) != 0) {
|
if (unlink(unverified_fname) != 0) {
|
||||||
log_warn(LD_FS,
|
log_debug(LD_FS,
|
||||||
"Failed to unlink %s: %s",
|
"Failed to unlink %s: %s",
|
||||||
unverified_fname, strerror(errno));
|
unverified_fname, strerror(errno));
|
||||||
}
|
}
|
||||||
@ -2116,7 +2116,7 @@ networkstatus_set_current_consensus(const char *consensus,
|
|||||||
waiting->set_at = 0;
|
waiting->set_at = 0;
|
||||||
waiting->dl_failed = 0;
|
waiting->dl_failed = 0;
|
||||||
if (unlink(unverified_fname) != 0) {
|
if (unlink(unverified_fname) != 0) {
|
||||||
log_warn(LD_FS,
|
log_debug(LD_FS,
|
||||||
"Failed to unlink %s: %s",
|
"Failed to unlink %s: %s",
|
||||||
unverified_fname, strerror(errno));
|
unverified_fname, strerror(errno));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user