Alexander Færøy
|
9e3f304113
Fix dir_handle_get/... test-cases for prop#278 support.
|
7 vuotta sitten |
Alexander Færøy
|
008194035f
Handle non-compressed requests gracefully.
|
7 vuotta sitten |
Alexander Færøy
|
8d730af0f7
Remove old consensus fetching code from handle_get_current_consensus().
|
7 vuotta sitten |
Alexander Færøy
|
fade313ba3
Fix too wide line from `make check-spaces`.
|
7 vuotta sitten |
Alexander Færøy
|
ae33deb91d
Check for best consensus when no consensusdiff was found.
|
7 vuotta sitten |
Nick Mathewson
|
dcc533fb13
Implement functions to expose valid/fresh-until and voters
|
7 vuotta sitten |
Alexander Færøy
|
ef2a62b2ff
Fetch the current consensus from the conscache subsystem.
|
7 vuotta sitten |
Alexander Færøy
|
7a3efe25d9
Use different preferences for compression methods when streaming.
|
7 vuotta sitten |
Alexander Færøy
|
141f6e3211
Add client_meth_pref array to define client compression preference.
|
7 vuotta sitten |
Alexander Færøy
|
59d17ca2bb
Fix indentation when using the ternary operator in handle_get_status_vote().
|
7 vuotta sitten |
Alexander Færøy
|
ef187bc280
Use compression_method_get_human_name() in connection_dir_client_reached_eof()
|
7 vuotta sitten |
Alexander Færøy
|
f8218b5ada
Use compression_method_get_by_name() instead of explicit checks.
|
7 vuotta sitten |
Alexander Færøy
|
cf2f7a1bea
Decide compression method in the various handle_* functions().
|
7 vuotta sitten |
Alexander Færøy
|
a3a31fa120
Send "Accept-Encoding" to directory servers.
|
7 vuotta sitten |
Alexander Færøy
|
6305637197
Use tor_compress_supports_method() instead of constants.
|
7 vuotta sitten |
Alexander Færøy
|
61b6de5906
Handle Zstandard and LZMA in our check for correct guessed compression.
|
7 vuotta sitten |
Alexander Færøy
|
fbef257c43
Handle x-zstd and x-tor-lzma in parse_http_response().
|
7 vuotta sitten |
Alexander Færøy
|
ca632144e5
Use dir_compressed(_len) instead of dir_z(_len).
|
7 vuotta sitten |
Roger Dingledine
|
8f1ddf0cd2
Remove unused "ROUTER_ADDED_NOTIFY_GENERATOR" internal value
|
7 vuotta sitten |
Nick Mathewson
|
8266d193a6
Restore wget behavior when fetching compressed objects
|
7 vuotta sitten |
Alexander Færøy
|
60e97953ef
Fix memory leak found in CID #1405876.
|
7 vuotta sitten |
Nick Mathewson
|
c6fe65fcaf
Grammar fix in a log message
|
7 vuotta sitten |
Nick Mathewson
|
baf489fc08
Fix: our directory.c code expects header constants to end with a :
|
7 vuotta sitten |
Nick Mathewson
|
e1d31f2a2f
Update the consdiff directory code based on #22143 fixes
|
7 vuotta sitten |
Nick Mathewson
|
a8eccb6363
Turn DEFAULT_IF_MODIFIED_SINCE_DELAY into a const
|
7 vuotta sitten |
Nick Mathewson
|
c12d2cb2dc
Request (and try to use) consensus diffs.
|
7 vuotta sitten |
Nick Mathewson
|
912b0641e9
Generate X-Or-Diff-From-Consensus headers correctly.
|
7 vuotta sitten |
Nick Mathewson
|
94ae99067f
Remove excess indentation from previous commit.
|
7 vuotta sitten |
Nick Mathewson
|
afa39cef6c
Extract the consensus-only part of directory_get_from_dirserver
|
7 vuotta sitten |
Nick Mathewson
|
57710c1587
New function to add additional headers to a directory request
|
7 vuotta sitten |