Commit History

Author SHA1 Message Date
  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
  Roger Dingledine 8f1ddf0cd2 Remove unused "ROUTER_ADDED_NOTIFY_GENERATOR" internal value 7 years ago
  Nick Mathewson 8266d193a6 Restore wget behavior when fetching compressed objects 7 years ago
  Alexander Færøy 60e97953ef Fix memory leak found in CID #1405876. 7 years ago
  Nick Mathewson c6fe65fcaf Grammar fix in a log message 7 years ago
  Nick Mathewson baf489fc08 Fix: our directory.c code expects header constants to end with a : 7 years ago
  Nick Mathewson e1d31f2a2f Update the consdiff directory code based on #22143 fixes 7 years ago
  Nick Mathewson a8eccb6363 Turn DEFAULT_IF_MODIFIED_SINCE_DELAY into a const 7 years ago
  Nick Mathewson c12d2cb2dc Request (and try to use) consensus diffs. 7 years ago
  Nick Mathewson 912b0641e9 Generate X-Or-Diff-From-Consensus headers correctly. 7 years ago
  Nick Mathewson 94ae99067f Remove excess indentation from previous commit. 7 years ago
  Nick Mathewson afa39cef6c Extract the consensus-only part of directory_get_from_dirserver 7 years ago
  Nick Mathewson 57710c1587 New function to add additional headers to a directory request 7 years ago
  Nick Mathewson 0418357ffd Serve consensus diffs on request. 7 years ago
  Nick Mathewson e5f82969ca Support writing Content-Encoding headers other than deflate 7 years ago
  Nick Mathewson e051c47e98 Remove old unused indentation from handle_get_current_consensus 7 years ago
  Nick Mathewson e0c937f316 Reindent the just-extracted directory response handler functions 7 years ago
  Nick Mathewson db86b9194d Break connection_dir_client_reached_eof() into smaller functions 7 years ago
  Nick Mathewson 480dab4f2f Use a cast to try to avoid a tautalogical comparison warning 7 years ago
  Nick Mathewson 10a4f9cd07 Merge branch 'parse_accept_encoding' 7 years ago
  Nick Mathewson 2903c329aa Move the "supported compression bitmask" into compress.[ch] 7 years ago
  Nick Mathewson 33a2fd065d Merge branch 'dirreq' 7 years ago
  Nick Mathewson 52316f9969 Include UPLOAD_RENDDESC_V2 in PURPOSE_IS_UPLOAD 7 years ago
  Nick Mathewson 65ff0f8267 Bitmask out the compression methods that we do not support 7 years ago
  Nick Mathewson fec3050ea9 Tests for parse_accept_encoding 7 years ago
  Nick Mathewson fd48b757d3 Parse recognized entries from the Accept-Encoding header. 7 years ago