Commit History

Author SHA1 Message Date
  Alexander Færøy 8d730af0f7 Remove old consensus fetching code from handle_get_current_consensus(). 7 years ago
  Alexander Færøy fade313ba3 Fix too wide line from `make check-spaces`. 7 years ago
  Alexander Færøy ae33deb91d Check for best consensus when no consensusdiff was found. 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 ef2a62b2ff Fetch the current consensus from the conscache subsystem. 7 years ago
  Alexander Færøy 363f4b8db5 Add stub functions for querying metadata about the consensus. 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 077d3085ec actually enable background compresion for consensuses 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
  Alexander Færøy 7a3efe25d9 Use different preferences for compression methods when streaming. 7 years ago
  Alexander Færøy 141f6e3211 Add client_meth_pref array to define client compression preference. 7 years ago
  Alexander Færøy 59d17ca2bb Fix indentation when using the ternary operator in handle_get_status_vote(). 7 years ago
  Alexander Færøy ef187bc280 Use compression_method_get_human_name() in connection_dir_client_reached_eof() 7 years ago
  Alexander Færøy 3a05687c6d Add API for getting human readable descriptions of a compress_method_t 7 years ago
  Alexander Færøy f8218b5ada Use compression_method_get_by_name() instead of explicit checks. 7 years ago
  Alexander Færøy cf2f7a1bea Decide compression method in the various handle_* functions(). 7 years ago
  Alexander Færøy a3a31fa120 Send "Accept-Encoding" to directory servers. 7 years ago
  Alexander Færøy 6305637197 Use tor_compress_supports_method() instead of constants. 7 years ago
  Alexander Færøy 61b6de5906 Handle Zstandard and LZMA in our check for correct guessed compression. 7 years ago
  Alexander Færøy fbef257c43 Handle x-zstd and x-tor-lzma in parse_http_response(). 7 years ago
  Alexander Færøy ca632144e5 Use dir_compressed(_len) instead of dir_z(_len). 7 years ago