mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-10 00:57:02 +02:00
MINOR: compression: fix -vv output without zlib/slz
When haproxy is compiled without zlib or slz, the output of haproxy -vv shows (null). Make haproxy -vv output great again by providing the proper information (which is what we did before). This is for 1.8 only.
This commit is contained in:
parent
8c8c3497c0
commit
b732321d03
@ -696,6 +696,8 @@ static void __comp_fetch_init(void)
|
|||||||
memprintf(&ptr, "%s\nRunning on zlib version : %s", ptr, zlibVersion());
|
memprintf(&ptr, "%s\nRunning on zlib version : %s", ptr, zlibVersion());
|
||||||
#elif defined(USE_SLZ)
|
#elif defined(USE_SLZ)
|
||||||
memprintf(&ptr, "Built with libslz for stateless compression.");
|
memprintf(&ptr, "Built with libslz for stateless compression.");
|
||||||
|
#else
|
||||||
|
memprintf(&ptr, "Built without compression support (neither USE_ZLIB nor USE_SLZ are set).");
|
||||||
#endif
|
#endif
|
||||||
memprintf(&ptr, "%s\nCompression algorithms supported :", ptr);
|
memprintf(&ptr, "%s\nCompression algorithms supported :", ptr);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user