You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Sander Striker <st...@apache.org> on 2001/12/14 13:37:04 UTC
[PATCH] Make the worker mpm use the new pools code
Hi,
This patch will make worker use the new features of
the pools code. It also adds a convenient line
for debugging purposes (resolves to a NOOP if
APR_POOL_DEBUG is not defined).
Sander
Index: server/mpm/worker/worker.c
===================================================================
RCS file: /home/cvspublic/httpd-2.0/server/mpm/worker/worker.c,v
retrieving revision 1.46
diff -r1.46 worker.c
657c657,658
< apr_pool_create(&ptrans, tpool);
---
> apr_pool_create_ex(&ptrans, tpool, NULL, APR_POOL_FNEW_ALLOCATOR);
> apr_pool_tag(ptrans, "transaction");