]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Lower the log-level and soften the language for our Zstd ABI compat check.
authorAlexander Færøy <ahf@torproject.org>
Thu, 14 Sep 2023 20:26:41 +0000 (22:26 +0200)
committerAlexander Færøy <ahf@torproject.org>
Thu, 14 Sep 2023 20:26:41 +0000 (22:26 +0200)
See: tpo/core/tor#40815.

changes/ticket40815 [new file with mode: 0644]
src/lib/compress/compress_zstd.c

diff --git a/changes/ticket40815 b/changes/ticket40815
new file mode 100644 (file)
index 0000000..88129b7
--- /dev/null
@@ -0,0 +1,4 @@
+  o Minor bugfixes (compression, zstd):
+    - Use less frightening language and lower the log-level of our run-time ABI
+      compatibility check message in our Zstd compression subsystem. Fixes bug
+      40815; bugfix on 0.4.3.1-alpha.
index 85c2bb3bfacc8b06aca3c84240d7a8676e3a7e3a..9b18930d16673048c7f808159688b2f06a6e74d2 100644 (file)
@@ -522,9 +522,10 @@ tor_zstd_warn_if_version_mismatched(void)
     tor_zstd_format_version(runtime_version, sizeof(runtime_version),
                             ZSTD_versionNumber());
 
-    log_warn(LD_GENERAL,
+    log_info(LD_GENERAL,
              "Tor was compiled with zstd %s, but is running with zstd %s. "
-             "For safety, we'll avoid using advanced zstd functionality.",
+             "For ABI compatibility reasons, we'll avoid using advanced zstd "
+             "functionality.",
              header_version, runtime_version);
   }
 #endif /* defined(HAVE_ZSTD) && defined(ENABLE_ZSTD_ADVANCED_APIS) */