]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: fcgi-app: use pool_alloc(), not pool_alloc_dirty()
authorWilly Tarreau <w@1wt.eu>
Mon, 22 Mar 2021 14:07:37 +0000 (15:07 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 22 Mar 2021 14:35:53 +0000 (15:35 +0100)
commit18f43d85a0d95ec7cad1a2ac5e8097ffbc891454
tree86dcd1e7cdc9e0a878a1c6f1d42c94f4d0ebc1de
parentf1a91292dc05a251a1ba9fa0f3f96b919b253df1
MINOR: fcgi-app: 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/fcgi-app.c