Commit History

Author SHA1 Message Date
  Nick Mathewson 7b3161f008 It should be a PROTOCOL_WARN when we have an incorrect content-encoding. 6 years ago
  Nick Mathewson 9018da06c7 Short-circuit the no-decompression-needed case, for clarity 6 years ago
  Nick Mathewson c0e9698fca Extract "decompress" portion of connection_dir_client_reached_eof() 6 years ago
  teor 7d535ea9d3 Add extra logging during compression and decompression 7 years ago
  Nick Mathewson 6fcaf83c98 Cleanup MOCK_IMPL (etc) to be findable with etags 7 years ago
  Nick Mathewson b80a35e683 Improve the message we log on unexpected dirauth status code 7 years ago
  Roger Dingledine 4e3ea6d5c8 fix minor grammar error in comment 7 years ago
  Alexander Færøy 9604980733 Log a warning if we receive a disallowed compression method for an anonymous connection. 7 years ago
  Nick Mathewson 9a50c73104 Merge remote-tracking branch 'ahf/bugs/22305' 7 years ago
  Alexander Færøy 5a0eab68e1 Ensure that only GZip and Zlib compression is handled for anonymous connections. 7 years ago
  Alexander Færøy 2b26ac1390 Refactor error path handling in connection_dir_client_reached_eof(). 7 years ago
  George Kadianakis 52498b8183 Set guard state on bridge descriptor fetches. 7 years ago
  Alexander Færøy 26795da900 Don't add "Accept-Encoding" header if directory connection is anonymous. 7 years ago
  Nick Mathewson bbeba2412e Fix resource leak in parse_consensus_request() 7 years ago
  Nick Mathewson 294d80044d remove a variable I missed 7 years ago
  Nick Mathewson d3279d4304 Do not try to uncompress an empty spool 7 years ago
  Nick Mathewson da6b00443c Try not to mess up caches with the X-Or-Diff-From-Consensus header 7 years ago
  Nick Mathewson 4531fdbbff Split consensus-request parsing into a separate function 7 years ago
  Nick Mathewson eb3c8d376d Prop140, continued: accept "diff/<HASH>" in URLs, per proposal. 7 years ago
  Nick Mathewson afef059795 Merge remote-tracking branch 'public/prop140_aftermath_cfg' 7 years ago
  Alexander Færøy 9e3f304113 Fix dir_handle_get/... test-cases for prop#278 support. 7 years ago
  Alexander Færøy 008194035f Handle non-compressed requests gracefully. 7 years ago
  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 dcc533fb13 Implement functions to expose valid/fresh-until and voters 7 years ago
  Alexander Færøy ef2a62b2ff Fetch the current consensus from the conscache subsystem. 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