You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Doug MacEachern <do...@covalent.net> on 2000/12/20 08:12:36 UTC
Re: possible bug in mod_perl 1.24_01
On Wed, 18 Oct 2000, Michael J Schout wrote:
> I have had an application working under apache 1.3.12/mod_perl 1.24 for several
> months now with no problems.
>
> I am currently trying to make the jump to apache 1.3.14/mod_perl 1.24_01 (since
> mod_perl 1.24 will not easily build agains 1.3.14). When I do this, and then
> try to start apache, it goes into an infinite loop proocessing <perl> sections.
thanks for the debugging (and patience), try this patch just applied to
cvs..
prevent $PerlRequire in a <Perl> section from triggering an endless loop
[Salvador Ortiz Garcia <so...@msg.com.mx>]
Index: src/modules/perl/mod_perl.h
===================================================================
RCS file: /home/cvs/modperl/src/modules/perl/mod_perl.h,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -r1.105 -r1.106
--- src/modules/perl/mod_perl.h 2000/10/03 18:19:14 1.105
+++ src/modules/perl/mod_perl.h 2000/12/20 07:24:43 1.106
@@ -491,9 +491,10 @@
#ifdef PERL_SECTIONS
# ifndef PERL_SECTIONS_SELF_BOOT
# ifdef WIN32
-# define PERL_SECTIONS_SELF_BOOT getenv("PERL_SECTIONS_SELF_BOOT")
+# define PERL_SECTIONS_SELF_BOOT \
+ (getenv("PERL_SECTIONS_SELF_BOOT") && !perl_sections_self_boot)
# else
-# define PERL_SECTIONS_SELF_BOOT 1
+# define PERL_SECTIONS_SELF_BOOT !perl_sections_self_boot
# endif
# endif
#endif