From 3f813c64d2e4580bac17b9e10d4325b049180d2a Mon Sep 17 00:00:00 2001 From: Mohammad Nejati Date: Wed, 9 Oct 2024 08:09:06 +0000 Subject: [PATCH] `zlib_service`: workaround for space overhead on s390x --- src_zlib/service/zlib_service.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src_zlib/service/zlib_service.cpp b/src_zlib/service/zlib_service.cpp index 1a36704e..179165b7 100644 --- a/src_zlib/service/zlib_service.cpp +++ b/src_zlib/service/zlib_service.cpp @@ -268,6 +268,9 @@ struct service_impl (1 << (window_bits + 2)) + (1 << (mem_level + 9)) + (6 * 1024) + + #ifdef __s390x__ + 5768 + + #endif http_proto::detail:: workspace::space_needed(); } @@ -283,6 +286,9 @@ struct service_impl return (1 << window_bits) + (7 * 1024) + + #ifdef __s390x__ + 5768 + + #endif http_proto::detail:: workspace::space_needed(); }