diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-05-01 15:31:28 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-05-01 15:31:28 -0400 |
commit | c486ef57a320b840fb50b184ee4ee806d9715888 (patch) | |
tree | a13becf66e7c503e72a83dfcd0fcebf09ce01acb /src/test/test_dir_handle_get.c | |
parent | 4837421d7cb6bcc52d5ffd09527ac786759b3b0a (diff) | |
download | tor-c486ef57a320b840fb50b184ee4ee806d9715888.tar.gz tor-c486ef57a320b840fb50b184ee4ee806d9715888.zip |
Rename x-lzma to x-tor-lzma
We shouldn't call it lzma, because we are imposing a limit on the
memory needed for decoding.
Diffstat (limited to 'src/test/test_dir_handle_get.c')
-rw-r--r-- | src/test/test_dir_handle_get.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/test_dir_handle_get.c b/src/test/test_dir_handle_get.c index 7794bd7d65..6e963913d1 100644 --- a/src/test/test_dir_handle_get.c +++ b/src/test/test_dir_handle_get.c @@ -2530,13 +2530,14 @@ test_dir_handle_get_parse_accept_encoding(void *arg) encodings = parse_accept_encoding_header("gzip"); tt_uint_op(B_NONE|B_GZIP, OP_EQ, encodings); - encodings = parse_accept_encoding_header("x-zstd, deflate, x-lzma"); + encodings = parse_accept_encoding_header("x-zstd, deflate, x-tor-lzma"); tt_uint_op(B_NONE|B_ZLIB|B_ZSTD|B_LZMA, OP_EQ, encodings); - encodings = parse_accept_encoding_header("x-zstd, deflate, x-lzma, gzip"); + encodings = parse_accept_encoding_header( + "x-zstd, deflate, x-tor-lzma, gzip"); tt_uint_op(B_NONE|B_ZLIB|B_ZSTD|B_LZMA|B_GZIP, OP_EQ, encodings); - encodings = parse_accept_encoding_header("x-zstd,deflate,x-lzma,gzip"); + encodings = parse_accept_encoding_header("x-zstd,deflate,x-tor-lzma,gzip"); tt_uint_op(B_NONE|B_ZLIB|B_ZSTD|B_LZMA|B_GZIP, OP_EQ, encodings); done: |