httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: cvs commit: httpd-apreq-2/build xsbuilder.pl
Date Sun, 02 Nov 2003 08:35:33 GMT
Randy Kobes wrote:
[...]
> I know this can wait until the next development cycle, but
> just to record this ... For some reason just using APR.pm to
> call apr_initialize/apr_terminate (through APR.xs) doesn't
> seem to work for the CGI environment, and yet putting the
> same code in an Apreq/Base.xs:
> ================================================================
> BOOT:
>      apr_initialize();
> 
> void
> END()
> 
>    CODE:
>    apr_terminate2();
> ================================================================
> does work. I'll look into this some more ...

If you copy this from APR.xs, make sure to copy the whole BOOT. apr_initialize 
has a bug in its init, which is worked around in APR.xs.


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Mime
View raw message