diff options
author | Alexander Færøy <ahf@torproject.org> | 2023-09-13 16:13:28 +0200 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2023-09-13 16:13:28 +0200 |
commit | d9a6b37ab1597ac726e5f972ebfbccf024c58cbc (patch) | |
tree | 23b3f58f0e9762f2ff1f5a2f33b024dfba800490 /changes | |
parent | d6c89b1ae1b18cc3cae42638d7bbe1edd7e35715 (diff) | |
download | tor-d9a6b37ab1597ac726e5f972ebfbccf024c58cbc.tar.gz tor-d9a6b37ab1597ac726e5f972ebfbccf024c58cbc.zip |
Add diagnostic log message for compression bombs.
This patch causes `tor_compress_is_compression_bomb()` to emit a
warning-level log message that lets us learn the potential ratio of the
input to output buffer sizes. Hopefully, this will give us a bit of a
better idea whether the compression bomb ratio needs some tuning.
See: tpo/core/tor#40739.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/ticket40739 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/changes/ticket40739 b/changes/ticket40739 new file mode 100644 index 0000000000..f60bfc5d87 --- /dev/null +++ b/changes/ticket40739 @@ -0,0 +1,3 @@ + o Minor features (debugging, compression): + - Log the input and output buffer sizes when we detect a potential + compression bomb. Diagnostic for ticket 40739. |