diff options
Diffstat (limited to 'src/common/compress.c')
-rw-r--r-- | src/common/compress.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/compress.c b/src/common/compress.c index 738df9f185..047f904cc7 100644 --- a/src/common/compress.c +++ b/src/common/compress.c @@ -313,7 +313,9 @@ static const struct { } compression_method_names[] = { { "gzip", GZIP_METHOD }, { "deflate", ZLIB_METHOD }, - { "x-lzma", LZMA_METHOD }, + // We call this "x-tor-lzma" rather than "x-lzma", because we impose a + // lower maximum memory usage on the decoding side. + { "x-tor-lzma", LZMA_METHOD }, { "x-zstd" , ZSTD_METHOD }, { "identity", NO_METHOD }, |