Use x-lzma, not x-lzma2, as the identifier

This commit is contained in:
Nick Mathewson 2017-04-25 19:00:52 -04:00
parent 0274ea749a
commit 2655a72d89

View File

@ -285,7 +285,7 @@ static const struct {
} compression_method_names[] = { } compression_method_names[] = {
{ "gzip", GZIP_METHOD }, { "gzip", GZIP_METHOD },
{ "deflate", ZLIB_METHOD }, { "deflate", ZLIB_METHOD },
{ "x-lzma2", LZMA_METHOD }, { "x-lzma", LZMA_METHOD },
{ "x-zstd" , ZSTD_METHOD }, { "x-zstd" , ZSTD_METHOD },
{ "identity", NO_METHOD }, { "identity", NO_METHOD },