All I really need a pool for is so I have something to pass as a parameter.

I see here <https://apr.apache.org/docs/apr/1.3/group___pool_cleanup.html>that
apr_pool_cleanup_register actually takes two functions as parameters.
The one I would want is plain_cleanup, right? If I understand pools
correctly, pools are destroyed/cleaned up when the server shuts down.


On Fri, Jun 7, 2013 at 9:46 AM, Joe Lewis <j...@joe-lewis.com> wrote:

>
> On 06/07/2013 09:29 AM, Sean Beck wrote:
>
>> Currently when I create the connections I don't use a pool for anything.
>> I'm using the fusemq-c library. I did notice that libstomp uses a pool
>> though.
>>
>
> If the memory allocation isn't done through the apr_* routines, I'm not
> sure what pool to use.  The one provided in the post_config should be the
> closest to what you need because it will be called when HTTPD does shut
> down gracefully.
>
> Joe
>

Reply via email to