mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-23 20:03:31 +01:00
Lower the log-level and soften the language for our Zstd ABI compat check.
See: tpo/core/tor#40815.
This commit is contained in:
parent
cf98f4d7b3
commit
3d160b37c2
4
changes/ticket40815
Normal file
4
changes/ticket40815
Normal file
@ -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.
|
@ -522,9 +522,10 @@ tor_zstd_warn_if_version_mismatched(void)
|
|||||||
tor_zstd_format_version(runtime_version, sizeof(runtime_version),
|
tor_zstd_format_version(runtime_version, sizeof(runtime_version),
|
||||||
ZSTD_versionNumber());
|
ZSTD_versionNumber());
|
||||||
|
|
||||||
log_warn(LD_GENERAL,
|
log_info(LD_GENERAL,
|
||||||
"Tor was compiled with zstd %s, but is running with zstd %s. "
|
"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);
|
header_version, runtime_version);
|
||||||
}
|
}
|
||||||
#endif /* defined(HAVE_ZSTD) && defined(ENABLE_ZSTD_ADVANCED_APIS) */
|
#endif /* defined(HAVE_ZSTD) && defined(ENABLE_ZSTD_ADVANCED_APIS) */
|
||||||
|
Loading…
Reference in New Issue
Block a user