Alexander Færøy
|
8d730af0f7
Remove old consensus fetching code from handle_get_current_consensus().
|
il y a 7 ans |
Alexander Færøy
|
fade313ba3
Fix too wide line from `make check-spaces`.
|
il y a 7 ans |
Alexander Færøy
|
ae33deb91d
Check for best consensus when no consensusdiff was found.
|
il y a 7 ans |
Nick Mathewson
|
7591518d16
Copy valid/fresh-until and signatories values into diffs.
|
il y a 7 ans |
Nick Mathewson
|
fd1190581d
Store fresh/valid-until and signatories values on all consensus objects.
|
il y a 7 ans |
Nick Mathewson
|
dcc533fb13
Implement functions to expose valid/fresh-until and voters
|
il y a 7 ans |
Nick Mathewson
|
2f06345db3
Move stub accessor functions a level higher, to consdiffmgr
|
il y a 7 ans |
Alexander Færøy
|
ef2a62b2ff
Fetch the current consensus from the conscache subsystem.
|
il y a 7 ans |
Alexander Færøy
|
363f4b8db5
Add stub functions for querying metadata about the consensus.
|
il y a 7 ans |
Alexander Færøy
|
64116ab97f
Fix tautological constant out-of-range comparison warnings.
|
il y a 7 ans |
Alexander Færøy
|
a1e8ef0076
Fix DoubleNL warning from `make check-spaces`.
|
il y a 7 ans |
Nick Mathewson
|
077d3085ec
actually enable background compresion for consensuses
|
il y a 7 ans |
Nick Mathewson
|
db370bb8a8
Test fix: expect old consensuses to be deleted if not deflate-compressed
|
il y a 7 ans |
Nick Mathewson
|
30dfb36148
consdiffmgr: Reload latest consensus entries on start.
|
il y a 7 ans |
Nick Mathewson
|
8100305e71
consdiffmgr: expose cached consensuses
|
il y a 7 ans |
Nick Mathewson
|
7b0dcf5c4a
Cleanup logic: only retain zlib-compressed consensuses
|
il y a 7 ans |
Nick Mathewson
|
151cd121a2
consdiffmgr: compress incoming consensuses in the background
|
il y a 7 ans |
Nick Mathewson
|
6da31ec484
consdiffmgr: Extract the code for compressing and storing
|
il y a 7 ans |
Alexander Færøy
|
7a3efe25d9
Use different preferences for compression methods when streaming.
|
il y a 7 ans |
Alexander Færøy
|
141f6e3211
Add client_meth_pref array to define client compression preference.
|
il y a 7 ans |
Alexander Færøy
|
59d17ca2bb
Fix indentation when using the ternary operator in handle_get_status_vote().
|
il y a 7 ans |
Alexander Færøy
|
ef187bc280
Use compression_method_get_human_name() in connection_dir_client_reached_eof()
|
il y a 7 ans |
Alexander Færøy
|
3a05687c6d
Add API for getting human readable descriptions of a compress_method_t
|
il y a 7 ans |
Alexander Færøy
|
f8218b5ada
Use compression_method_get_by_name() instead of explicit checks.
|
il y a 7 ans |
Alexander Færøy
|
cf2f7a1bea
Decide compression method in the various handle_* functions().
|
il y a 7 ans |
Alexander Færøy
|
a3a31fa120
Send "Accept-Encoding" to directory servers.
|
il y a 7 ans |
Alexander Færøy
|
6305637197
Use tor_compress_supports_method() instead of constants.
|
il y a 7 ans |
Alexander Færøy
|
61b6de5906
Handle Zstandard and LZMA in our check for correct guessed compression.
|
il y a 7 ans |
Alexander Færøy
|
fbef257c43
Handle x-zstd and x-tor-lzma in parse_http_response().
|
il y a 7 ans |
Alexander Færøy
|
ca632144e5
Use dir_compressed(_len) instead of dir_z(_len).
|
il y a 7 ans |