Alexander Færøy
|
60e97953ef
Fix memory leak found in CID #1405876.
|
7 jaren geleden |
Nick Mathewson
|
c6fe65fcaf
Grammar fix in a log message
|
7 jaren geleden |
Nick Mathewson
|
baf489fc08
Fix: our directory.c code expects header constants to end with a :
|
7 jaren geleden |
Nick Mathewson
|
e1d31f2a2f
Update the consdiff directory code based on #22143 fixes
|
7 jaren geleden |
Nick Mathewson
|
a8eccb6363
Turn DEFAULT_IF_MODIFIED_SINCE_DELAY into a const
|
7 jaren geleden |
Nick Mathewson
|
c12d2cb2dc
Request (and try to use) consensus diffs.
|
7 jaren geleden |
Nick Mathewson
|
912b0641e9
Generate X-Or-Diff-From-Consensus headers correctly.
|
7 jaren geleden |
Nick Mathewson
|
94ae99067f
Remove excess indentation from previous commit.
|
7 jaren geleden |
Nick Mathewson
|
afa39cef6c
Extract the consensus-only part of directory_get_from_dirserver
|
7 jaren geleden |
Nick Mathewson
|
57710c1587
New function to add additional headers to a directory request
|
7 jaren geleden |
Nick Mathewson
|
0418357ffd
Serve consensus diffs on request.
|
7 jaren geleden |
Nick Mathewson
|
e5f82969ca
Support writing Content-Encoding headers other than deflate
|
7 jaren geleden |
Nick Mathewson
|
e051c47e98
Remove old unused indentation from handle_get_current_consensus
|
7 jaren geleden |
Nick Mathewson
|
e0c937f316
Reindent the just-extracted directory response handler functions
|
7 jaren geleden |
Nick Mathewson
|
db86b9194d
Break connection_dir_client_reached_eof() into smaller functions
|
7 jaren geleden |
Nick Mathewson
|
480dab4f2f
Use a cast to try to avoid a tautalogical comparison warning
|
7 jaren geleden |
Nick Mathewson
|
10a4f9cd07
Merge branch 'parse_accept_encoding'
|
7 jaren geleden |
Nick Mathewson
|
2903c329aa
Move the "supported compression bitmask" into compress.[ch]
|
7 jaren geleden |
Nick Mathewson
|
33a2fd065d
Merge branch 'dirreq'
|
7 jaren geleden |
Nick Mathewson
|
52316f9969
Include UPLOAD_RENDDESC_V2 in PURPOSE_IS_UPLOAD
|
7 jaren geleden |
Nick Mathewson
|
65ff0f8267
Bitmask out the compression methods that we do not support
|
7 jaren geleden |
Nick Mathewson
|
fec3050ea9
Tests for parse_accept_encoding
|
7 jaren geleden |
Nick Mathewson
|
fd48b757d3
Parse recognized entries from the Accept-Encoding header.
|
7 jaren geleden |
Nick Mathewson
|
d8ff01b2b4
Refactor directory_command_should_use_begindir to use directory_request_t
|
7 jaren geleden |
Nick Mathewson
|
2a99bf008d
move the definition of directory_command_should_use_begindir
|
7 jaren geleden |
Nick Mathewson
|
cc677e88d4
Refactor directory_send_command to take a directory_request_t
|
7 jaren geleden |
Nick Mathewson
|
900d36e3b1
Rename, revise, and document directory_request_is_dir_specified.
|
7 jaren geleden |
Nick Mathewson
|
d7fab36037
Make directory_request_set_guard_state static.
|
7 jaren geleden |
Nick Mathewson
|
81045e19eb
Document the new directory_request_t API and add some assertions
|
7 jaren geleden |
Nick Mathewson
|
3327e675fd
Remove old directory_initiate_command_*() functions.
|
7 jaren geleden |