aboutsummaryrefslogtreecommitdiff
path: root/proposals/278-directory-compression-scheme-negotiation.txt
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2017-05-03 21:58:18 +0200
committerAlexander Færøy <ahf@torproject.org>2017-05-03 21:59:22 +0200
commit7c572377db2d25c2f6cd90cad13d6b72d5449436 (patch)
tree9ab6d94988b2d2217af601192c3627cc5ac195a6 /proposals/278-directory-compression-scheme-negotiation.txt
parenta2cd5c6142091f5f46e1820c65c17912a00ee2a9 (diff)
downloadtorspec-7c572377db2d25c2f6cd90cad13d6b72d5449436.tar.gz
torspec-7c572377db2d25c2f6cd90cad13d6b72d5449436.zip
Explain the reasoning behind the "x-tor-lzma" name.
Diffstat (limited to 'proposals/278-directory-compression-scheme-negotiation.txt')
-rw-r--r--proposals/278-directory-compression-scheme-negotiation.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/proposals/278-directory-compression-scheme-negotiation.txt b/proposals/278-directory-compression-scheme-negotiation.txt
index 2c1ea69..475e4af 100644
--- a/proposals/278-directory-compression-scheme-negotiation.txt
+++ b/proposals/278-directory-compression-scheme-negotiation.txt
@@ -113,6 +113,13 @@ Target: N/A
The "deflate", "gzip", and "identity" compression schemes must be
supported by directory servers for backwards compatibility.
+ We use the name "x-tor-lzma" instead of just "x-lzma" because we
+ require a defined upper bound of memory usage that is available for
+ decompression of LZMA compressed data. The upper bound for memory
+ available for LZMA decompression is defined as 16 MB. This currently
+ means that will not use the LZMA compression scheme with a "preset"
+ value higher than 6.
+
Additionally, when a client, that supports this proposals, makes a
request to a directory document with the ".z"-suffix it must send an
ordered set of supported compression schemes where the last elements