Nick Mathewson
|
480dab4f2f
Use a cast to try to avoid a tautalogical comparison warning
|
7 years ago |
Nick Mathewson
|
10a4f9cd07
Merge branch 'parse_accept_encoding'
|
7 years ago |
Nick Mathewson
|
2903c329aa
Move the "supported compression bitmask" into compress.[ch]
|
7 years ago |
Nick Mathewson
|
33a2fd065d
Merge branch 'dirreq'
|
7 years ago |
Nick Mathewson
|
52316f9969
Include UPLOAD_RENDDESC_V2 in PURPOSE_IS_UPLOAD
|
7 years ago |
Nick Mathewson
|
65ff0f8267
Bitmask out the compression methods that we do not support
|
7 years ago |
Nick Mathewson
|
fec3050ea9
Tests for parse_accept_encoding
|
7 years ago |
Nick Mathewson
|
fd48b757d3
Parse recognized entries from the Accept-Encoding header.
|
7 years ago |
Nick Mathewson
|
d8ff01b2b4
Refactor directory_command_should_use_begindir to use directory_request_t
|
7 years ago |
Nick Mathewson
|
2a99bf008d
move the definition of directory_command_should_use_begindir
|
7 years ago |
Nick Mathewson
|
cc677e88d4
Refactor directory_send_command to take a directory_request_t
|
7 years ago |
Nick Mathewson
|
900d36e3b1
Rename, revise, and document directory_request_is_dir_specified.
|
7 years ago |
Nick Mathewson
|
d7fab36037
Make directory_request_set_guard_state static.
|
7 years ago |
Nick Mathewson
|
81045e19eb
Document the new directory_request_t API and add some assertions
|
7 years ago |
Nick Mathewson
|
3327e675fd
Remove old directory_initiate_command_*() functions.
|
7 years ago |
Nick Mathewson
|
4ae65bb5d3
Refactor directory_get_from_dirserver to use request API.
|
7 years ago |
Nick Mathewson
|
eee733be33
Refactor directory_post_to_dirservers to use requests
|
7 years ago |
Nick Mathewson
|
c300fd7e65
Have directory_get_from_all_authorities use requests.
|
7 years ago |
Nick Mathewson
|
a55bd00b0f
continue refactoring directory API: remove initiate_command_rend
|
7 years ago |
Alexander Færøy
|
b8c9f229d7
Rename `write_to_buf_zlib()` to `write_to_buf_compress()`.
|
7 years ago |
Alexander Færøy
|
4b9349192d
Rename `zlib_state` to `compress_state` in `dir_connection_t`.
|
7 years ago |
Alexander Færøy
|
3c4459bcbf
Refactor the streaming compression code.
|
7 years ago |
Alexander Færøy
|
44cb86adbe
Rename `tor_gzip_{compress,uncompress}` to `tor_{compress,uncompress}`.
|
7 years ago |
Alexander Færøy
|
e8b025dfc3
Rename `zlib_compression_level_t` to `compression_level_t`.
|
7 years ago |
Nick Mathewson
|
91a6fbcf77
Begin work to turn "directory request" into an object
|
7 years ago |
Nick Mathewson
|
208c2a5c74
Merge branch 'spooling_squashed'
|
7 years ago |
Nick Mathewson
|
003a7fe2a3
Add nonfatal asserts for return val of dirserv_flushed_some
|
7 years ago |
Nick Mathewson
|
8aa69a1b69
Refactor the directory spool implementation
|
7 years ago |
Nick Mathewson
|
7505f452c8
Run the copyright update script.
|
7 years ago |
Nick Mathewson
|
1421f75331
Merge branch 'maint-0.3.0'
|
7 years ago |