aboutsummaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2023-09-13 16:13:28 +0200
committerAlexander Færøy <ahf@torproject.org>2023-09-13 16:13:28 +0200
commitd9a6b37ab1597ac726e5f972ebfbccf024c58cbc (patch)
tree23b3f58f0e9762f2ff1f5a2f33b024dfba800490 /changes
parentd6c89b1ae1b18cc3cae42638d7bbe1edd7e35715 (diff)
downloadtor-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/ticket407393
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.