httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <>
Subject Re: [PATCH] add -C and -c switches
Date Tue, 06 Jan 1998 20:37:13 GMT

On Wed, 7 Jan 1998, Doug MacEachern wrote:

> I agree, but this comment in http_conf_globals.h threw me off:
> /* Trying to allocate these in the config pool gets us into some *nasty*
>  * chicken-and-egg problems in http_main.c --- where do you stick them
>  * when pconf gets cleared?  Better to just allocate a little space
>  * statically...
>  */
> If I want to use pstrcat or use some other pool function in this area of
> http_main, which, if any, pool* can I use?  Other recommendations?

Yeah it's a pain... you could actually create a pool with
make_sub_pool(NULL) which wouldn't be destroyed across resets.  Then you
could use the array routines to build a command list.  In fact such a pool
would be useful for more than just this...


View raw message