Commit History

Author SHA1 Message Date
  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
  Nick Mathewson d8ff01b2b4 Refactor directory_command_should_use_begindir to use directory_request_t 7 years ago
  Nick Mathewson 2a99bf008d move the definition of directory_command_should_use_begindir 7 years ago
  Nick Mathewson cc677e88d4 Refactor directory_send_command to take a directory_request_t 7 years ago
  Nick Mathewson 900d36e3b1 Rename, revise, and document directory_request_is_dir_specified. 7 years ago
  Nick Mathewson d7fab36037 Make directory_request_set_guard_state static. 7 years ago
  Nick Mathewson 81045e19eb Document the new directory_request_t API and add some assertions 7 years ago
  Nick Mathewson 3327e675fd Remove old directory_initiate_command_*() functions. 7 years ago
  Nick Mathewson 4ae65bb5d3 Refactor directory_get_from_dirserver to use request API. 7 years ago
  Nick Mathewson eee733be33 Refactor directory_post_to_dirservers to use requests 7 years ago
  Nick Mathewson c300fd7e65 Have directory_get_from_all_authorities use requests. 7 years ago
  Nick Mathewson a55bd00b0f continue refactoring directory API: remove initiate_command_rend 7 years ago
  Alexander Færøy b8c9f229d7 Rename `write_to_buf_zlib()` to `write_to_buf_compress()`. 7 years ago