apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <stri...@apache.org>
Subject [PATCH] Make the worker mpm use the new pools code
Date Fri, 14 Dec 2001 12:37:04 GMT
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");


Mime
View raw message