mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
Merge remote-tracking branch 'public/bug23275_031' into maint-0.3.1
This commit is contained in:
commit
a7aeb6f58f
3 changed files with 7 additions and 2 deletions
5
changes/bug23275
Normal file
5
changes/bug23275
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
o Minor bugfixes (relay):
|
||||||
|
- When a relay is not running as a directory cache, it will no longer
|
||||||
|
generate compressed consensuses and consensus diff information.
|
||||||
|
Previously, this was a waste of disk and CPU. Fixes bug 23275;
|
||||||
|
bugfix on 0.3.1.1-alpha.
|
|
@ -1487,7 +1487,7 @@ run_scheduled_events(time_t now)
|
||||||
|
|
||||||
/* 12. launch diff computations. (This is free if there are none to
|
/* 12. launch diff computations. (This is free if there are none to
|
||||||
* launch.) */
|
* launch.) */
|
||||||
if (server_mode(options)) {
|
if (dir_server_mode(options)) {
|
||||||
consdiffmgr_rescan();
|
consdiffmgr_rescan();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2014,7 +2014,7 @@ networkstatus_set_current_consensus(const char *consensus,
|
||||||
&c->digests,
|
&c->digests,
|
||||||
c->digest_sha3_as_signed,
|
c->digest_sha3_as_signed,
|
||||||
c->valid_after);
|
c->valid_after);
|
||||||
if (server_mode(get_options())) {
|
if (dir_server_mode(get_options())) {
|
||||||
consdiffmgr_add_consensus(consensus, c);
|
consdiffmgr_add_consensus(consensus, c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue