On Thu, Jan 17, 2019 at 12:04:37PM +0100, Yann Ylavic wrote: > On Tue, Jan 15, 2019 at 11:48 AM Stefan Sperling <s...@stsp.name> wrote: > > > > On Tue, Jan 15, 2019 at 11:19:24AM +0100, Stefan Eissing wrote: > > > Would OpenBSD be happy with a setting (COMPILE FLAG) that forces > > > the immediate free() by allocators and otherwise skipping the DEBUG > > > flags? > > > > Yes, I think that would be great. I don't care about the pool debugging > > aspects as much as the benefits we get from direct use of our nalloc/free. > > How about "MaxMemFree 1" in OpenBSD's httpd then instead of compile > time APR_POOL_DEBUG?
Thanks for the suggestion! Unfortunately, this would not help other applications using APR, such as Subversion clients. I'd rather not deploy application-level workarounds for behaviour of a library used by these applications.