> -----Original Message-----
> From: Doug MacEachern [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 19, 2001 12:17 PM
> To: Geoffrey Young
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: Apache::Util stuff
>
>
> On Tue, 19 Jun 2001, Geoffrey Young wrote:
>
> > I was able to come up with the below module that allows you to use
> > Apache::Util outside of Apache.
>
> cool.
>
> > So, my questions are:
> > will the ap/apr split make this type of thing unnecessary in 2.0?
>
> we still need something to load the apr libraries outside of
> httpd, which
> is done by xs/APR/APR/*.*
ok, makes sense
>
> > then (if you have the tuits)
> > is this approach reasonable?
> > not being too familiar with shared objects, does it make
> sense that
> > some of the functions core dump - it seems to be any that
> call ap_palloc
>
> you should be able to create an Apache::libhttpd module along
> the lines of
> the xs/APR/APR stuff. then rather than call the bootstrap
> yourself, just
> set $ENV{MOD_PERL} in libhttpd.pm and 'use Apache::Util ()'
> should work.
this is just for 2.0, though, right? for 1.3 I'm stuck doing the bootstrap
manually (no apr_initialize equivalent in 1.3)
> and will probably need to dig around
> http_main.c:standalone_main() to see
> what things need to be initialized, like for using pools.
yike :)
--Geoff
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]