]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: pool/cli: use ullong to report total pool usage in bytes
authorWilly Tarreau <w@1wt.eu>
Thu, 17 Nov 2022 10:08:03 +0000 (11:08 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 17 Nov 2022 10:10:53 +0000 (11:10 +0100)
commit0c5e9896c79cbec3507894ed33a8553127bc170e
treeea839702074ce4aa1dd3c0a1c4f046ac2d99415a
parent35402852bd650bd963de2e710b55b5d6f0fd260f
BUG/MINOR: pool/cli: use ullong to report total pool usage in bytes

As noticed by Gabriel Tzagkarakis in issue #1903, the total pool size
in bytes is historically still in 32 bits, but at least we should report
the product of the number of objects and their size in 64 bits so that
the value doesn't wrap around 4G.

This may be backported to all versions.
src/pool.c