Skip to content

Commit

Permalink
zlib_service: workaround for space overhead on s390x
Browse files Browse the repository at this point in the history
  • Loading branch information
ashtum committed Oct 9, 2024
1 parent d498600 commit 2b7377b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src_zlib/service/zlib_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<deflator>();
}
Expand All @@ -283,6 +286,9 @@ struct service_impl
return
(1 << window_bits) +
(7 * 1024) +
#ifdef __s390x__
5768 +
#endif
http_proto::detail::
workspace::space_needed<inflator>();
}
Expand Down

0 comments on commit 2b7377b

Please sign in to comment.