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 /scripts | |
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 'scripts')
0 files changed, 0 insertions, 0 deletions