]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: compression: use pool_alloc(), not pool_alloc_dirty()
authorWilly Tarreau <w@1wt.eu>
Mon, 22 Mar 2021 14:08:17 +0000 (15:08 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 22 Mar 2021 14:35:53 +0000 (15:35 +0100)
commit5bfeb2139b023cf0e8cff6ff294df01da6bbe234
tree49e62f8a80d9e044907ae2024da9bd1ff5667198
parent79e6d2a7adbd040d83e90f4c8fa46d31399ba16c
MINOR: compression: use pool_alloc(), not pool_alloc_dirty()

pool_alloc_dirty() is the version below pool_alloc() that never performs
the memory poisonning. It should only be called directly for very large
unstructured areas for which enabling memory poisonning would not bring
anything but could significantly hurt performance (e.g. buffers). Using
this function here will not provide any benefit and will hurt the ability
to debug.

It would be desirable to backport this, although it does not cause any
user-visible bug, it just complicates debugging.
src/flt_http_comp.c