Nick Mathewson
|
bbeba2412e
Fix resource leak in parse_consensus_request()
|
7 years ago |
Nick Mathewson
|
2ca827104d
Report deleted consensuses as NOT_FOUND rather than AVAILABLE
|
7 years ago |
Nick Mathewson
|
460b923026
fix a memory leak
|
7 years ago |
Nick Mathewson
|
afef059795
Merge remote-tracking branch 'public/prop140_aftermath_cfg'
|
7 years ago |
Nick Mathewson
|
7591518d16
Copy valid/fresh-until and signatories values into diffs.
|
7 years ago |
Nick Mathewson
|
fd1190581d
Store fresh/valid-until and signatories values on all consensus objects.
|
7 years ago |
Nick Mathewson
|
dcc533fb13
Implement functions to expose valid/fresh-until and voters
|
7 years ago |
Nick Mathewson
|
2f06345db3
Move stub accessor functions a level higher, to consdiffmgr
|
7 years ago |
Alexander Færøy
|
64116ab97f
Fix tautological constant out-of-range comparison warnings.
|
7 years ago |
Alexander Færøy
|
a1e8ef0076
Fix DoubleNL warning from `make check-spaces`.
|
7 years ago |
Nick Mathewson
|
db370bb8a8
Test fix: expect old consensuses to be deleted if not deflate-compressed
|
7 years ago |
Nick Mathewson
|
30dfb36148
consdiffmgr: Reload latest consensus entries on start.
|
7 years ago |
Nick Mathewson
|
8100305e71
consdiffmgr: expose cached consensuses
|
7 years ago |
Nick Mathewson
|
7b0dcf5c4a
Cleanup logic: only retain zlib-compressed consensuses
|
7 years ago |
Nick Mathewson
|
151cd121a2
consdiffmgr: compress incoming consensuses in the background
|
7 years ago |
Nick Mathewson
|
6da31ec484
consdiffmgr: Extract the code for compressing and storing
|
7 years ago |
Nick Mathewson
|
c276c10d3b
Turn consdiffmgr.cache_max_age_hours into a parameter
|
7 years ago |
Nick Mathewson
|
6beb7028d8
Do not BUG on missing sha3-as-signed field
|
7 years ago |
Nick Mathewson
|
3af9704e45
bug#22143/prop#140: in consdiffmgr, store and use digest-as-signed
|
7 years ago |
Nick Mathewson
|
fd437f2a02
Remove special-casing for NO_METHOD in consdiffmgr.c
|
7 years ago |
Nick Mathewson
|
b8f7488e94
Fix a brazen memleak in consdiffmgr_add_consensus()
|
7 years ago |
Nick Mathewson
|
00a12337ff
Merge branches 'consdiffmgr_orig_squashed' and 'actually_compute_diffs_squashed'
|
7 years ago |
Nick Mathewson
|
1e1581a24e
Pre-compress consensus diffs with supported consensus methods.
|
7 years ago |
Nick Mathewson
|
a1172b6774
Store archived consensuses compressed on disk.
|
7 years ago |
Nick Mathewson
|
7a0964279f
Functionality to ensure there is space to add files to cache.
|
7 years ago |
Nick Mathewson
|
920475f293
New force-delete option on consensus_cache_delete_pending()
|
7 years ago |
Nick Mathewson
|
466e914088
Lower the file limit in consdiffmgr, to support seccomp2
|
7 years ago |
Nick Mathewson
|
fba8d7b222
Initialize consdiffmgr when running as (or becoming) a server.
|
7 years ago |
Sebastian Hahn
|
ee478bdf38
Fix coverity cid 1405510
|
7 years ago |
Nick Mathewson
|
24f7059704
Configure sandbox using consdiffmgr; free cdm on exit.
|
7 years ago |