Nick Mathewson
|
31a08ba26f
Merge remote-tracking branch 'public/bug22670_031' into maint-0.3.1
|
7 lat temu |
Alexander Færøy
|
0a4af86335
Return "304 not modified" if a client already have the most recent consensus.
|
7 lat temu |
Nick Mathewson
|
5537e1fc45
If we successfully decompress an HTTP body, return immediately.
|
7 lat temu |
Nick Mathewson
|
d8cd68caf1
If a _guessed_ compression method fails, it is never PROTOCOL_WARN.
|
7 lat temu |
Nick Mathewson
|
7b3161f008
It should be a PROTOCOL_WARN when we have an incorrect content-encoding.
|
7 lat temu |
Nick Mathewson
|
9018da06c7
Short-circuit the no-decompression-needed case, for clarity
|
7 lat temu |
Nick Mathewson
|
c0e9698fca
Extract "decompress" portion of connection_dir_client_reached_eof()
|
7 lat temu |
Nick Mathewson
|
782eb02b79
Send the correct content-encoding when serving cached_dir_t objects
|
7 lat temu |
teor
|
7d535ea9d3
Add extra logging during compression and decompression
|
7 lat temu |
Nick Mathewson
|
6fcaf83c98
Cleanup MOCK_IMPL (etc) to be findable with etags
|
7 lat temu |
Nick Mathewson
|
b80a35e683
Improve the message we log on unexpected dirauth status code
|
7 lat temu |
Roger Dingledine
|
4e3ea6d5c8
fix minor grammar error in comment
|
7 lat temu |
Alexander Færøy
|
9604980733
Log a warning if we receive a disallowed compression method for an anonymous connection.
|
7 lat temu |
Nick Mathewson
|
9a50c73104
Merge remote-tracking branch 'ahf/bugs/22305'
|
7 lat temu |
Alexander Færøy
|
5a0eab68e1
Ensure that only GZip and Zlib compression is handled for anonymous connections.
|
7 lat temu |
Alexander Færøy
|
2b26ac1390
Refactor error path handling in connection_dir_client_reached_eof().
|
7 lat temu |
George Kadianakis
|
52498b8183
Set guard state on bridge descriptor fetches.
|
7 lat temu |
Alexander Færøy
|
26795da900
Don't add "Accept-Encoding" header if directory connection is anonymous.
|
7 lat temu |
Nick Mathewson
|
bbeba2412e
Fix resource leak in parse_consensus_request()
|
7 lat temu |
Nick Mathewson
|
294d80044d
remove a variable I missed
|
7 lat temu |
Nick Mathewson
|
d3279d4304
Do not try to uncompress an empty spool
|
7 lat temu |
Nick Mathewson
|
da6b00443c
Try not to mess up caches with the X-Or-Diff-From-Consensus header
|
7 lat temu |
Nick Mathewson
|
4531fdbbff
Split consensus-request parsing into a separate function
|
7 lat temu |
Nick Mathewson
|
eb3c8d376d
Prop140, continued: accept "diff/<HASH>" in URLs, per proposal.
|
7 lat temu |
Nick Mathewson
|
afef059795
Merge remote-tracking branch 'public/prop140_aftermath_cfg'
|
7 lat temu |
Alexander Færøy
|
9e3f304113
Fix dir_handle_get/... test-cases for prop#278 support.
|
7 lat temu |
Alexander Færøy
|
008194035f
Handle non-compressed requests gracefully.
|
7 lat temu |
Alexander Færøy
|
8d730af0f7
Remove old consensus fetching code from handle_get_current_consensus().
|
7 lat temu |
Alexander Færøy
|
fade313ba3
Fix too wide line from `make check-spaces`.
|
7 lat temu |
Alexander Færøy
|
ae33deb91d
Check for best consensus when no consensusdiff was found.
|
7 lat temu |