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