Nick Mathewson
|
6fcaf83c98
Cleanup MOCK_IMPL (etc) to be findable with etags
|
7 anos atrás |
Nick Mathewson
|
b80a35e683
Improve the message we log on unexpected dirauth status code
|
7 anos atrás |
Roger Dingledine
|
4e3ea6d5c8
fix minor grammar error in comment
|
7 anos atrás |
Alexander Færøy
|
9604980733
Log a warning if we receive a disallowed compression method for an anonymous connection.
|
7 anos atrás |
Nick Mathewson
|
9a50c73104
Merge remote-tracking branch 'ahf/bugs/22305'
|
7 anos atrás |
Alexander Færøy
|
5a0eab68e1
Ensure that only GZip and Zlib compression is handled for anonymous connections.
|
7 anos atrás |
Alexander Færøy
|
2b26ac1390
Refactor error path handling in connection_dir_client_reached_eof().
|
7 anos atrás |
George Kadianakis
|
52498b8183
Set guard state on bridge descriptor fetches.
|
7 anos atrás |
Alexander Færøy
|
26795da900
Don't add "Accept-Encoding" header if directory connection is anonymous.
|
7 anos atrás |
Nick Mathewson
|
bbeba2412e
Fix resource leak in parse_consensus_request()
|
7 anos atrás |
Nick Mathewson
|
294d80044d
remove a variable I missed
|
7 anos atrás |
Nick Mathewson
|
d3279d4304
Do not try to uncompress an empty spool
|
7 anos atrás |
Nick Mathewson
|
da6b00443c
Try not to mess up caches with the X-Or-Diff-From-Consensus header
|
7 anos atrás |
Nick Mathewson
|
4531fdbbff
Split consensus-request parsing into a separate function
|
7 anos atrás |
Nick Mathewson
|
eb3c8d376d
Prop140, continued: accept "diff/<HASH>" in URLs, per proposal.
|
7 anos atrás |
Nick Mathewson
|
afef059795
Merge remote-tracking branch 'public/prop140_aftermath_cfg'
|
7 anos atrás |
Alexander Færøy
|
9e3f304113
Fix dir_handle_get/... test-cases for prop#278 support.
|
7 anos atrás |
Alexander Færøy
|
008194035f
Handle non-compressed requests gracefully.
|
7 anos atrás |
Alexander Færøy
|
8d730af0f7
Remove old consensus fetching code from handle_get_current_consensus().
|
7 anos atrás |
Alexander Færøy
|
fade313ba3
Fix too wide line from `make check-spaces`.
|
7 anos atrás |
Alexander Færøy
|
ae33deb91d
Check for best consensus when no consensusdiff was found.
|
7 anos atrás |
Nick Mathewson
|
dcc533fb13
Implement functions to expose valid/fresh-until and voters
|
7 anos atrás |
Alexander Færøy
|
ef2a62b2ff
Fetch the current consensus from the conscache subsystem.
|
7 anos atrás |
Alexander Færøy
|
7a3efe25d9
Use different preferences for compression methods when streaming.
|
7 anos atrás |
Alexander Færøy
|
141f6e3211
Add client_meth_pref array to define client compression preference.
|
7 anos atrás |
Alexander Færøy
|
59d17ca2bb
Fix indentation when using the ternary operator in handle_get_status_vote().
|
7 anos atrás |
Alexander Færøy
|
ef187bc280
Use compression_method_get_human_name() in connection_dir_client_reached_eof()
|
7 anos atrás |
Alexander Færøy
|
f8218b5ada
Use compression_method_get_by_name() instead of explicit checks.
|
7 anos atrás |
Alexander Færøy
|
cf2f7a1bea
Decide compression method in the various handle_* functions().
|
7 anos atrás |
Alexander Færøy
|
a3a31fa120
Send "Accept-Encoding" to directory servers.
|
7 anos atrás |