6-Oct-98 08:12 you wrote:

> This currently was announced on modperl-announce:

> | The URL
> |
> |     http://perl.apache.org/dist/mod_perl-1.16.tar.gz
> |
> | has entered CPAN as
> |
> |   file: $CPAN/authors/id/DOUGM/mod_perl-1.16.tar.gz
> |   size: 278243 bytes
> |    md5: 0ef261732f91bdefa655e98d9d51d5d2

> I'm totally busy with other mod_ssl things these days but those of you who had
> problems with the Apache+mod_perl+mod_ssl combination last time perhaps want
> to try out this new release.  Give us feedback if it works and if it doesn't
> where problems still exist. Doug also created a INSTALL.simple.mod_ssl file
> in the mod_perl distribution as I recognized via the CVS commit messages.
> Look also at this file and give Doug MacEachern <[EMAIL PROTECTED]> feedback
> when you discover problems.

Thanx for the hint, but... mod_perl 1.16 works the same way as mod_perl 1.15_01

-- cut --
AddModule mod_ssl.c
AddModule mod_perl.c
-- cut --
does not work while
-- cut --
AddModule mod_perl.c
AddModule mod_ssl.c
-- cut --
works just fine. Instead of mod_ssl there are could be mod_jserv.c as well.
Without patch below child will hangs somewhere in cleanup_pool_for_exec()
This patch cure problem (at least for me) while I'm not sure that this is
correct solution.

In mod_perl.c I'm see the following:
-- cut --
#if MODULE_MAGIC_NUMBER >= 19970728
    NULL,   /* child_exit *//* mod_perl uses register_cleanup() */
#endif
-- cut --
Looks like this is problem but without patch apache still hangs while works
with patch :-(( So this is not a problem (but AFAIK here must be written
&ap_null_cleanup instead of just NULL -- not?).

--- apache_1.3.2/src/main/alloc.c.old   Wed Oct  7 01:17:35 1998
+++ apache_1.3.2/src/main/alloc.c       Wed Oct  7 01:19:13 1998
@@ -1601,7 +1601,7 @@
 static void run_child_cleanups(struct cleanup *c)
 {
     while (c) {
-       if (c->child_cleanup) (*c->child_cleanup) (c->data);
+       (*c->child_cleanup) (c->data);
        c = c->next;
     }
 }

May be this patch will help you to find "right solution" but for now I'm have
at least working hack :-))



______________________________________________________________________
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List               [EMAIL PROTECTED]
Automated List Manager                       [EMAIL PROTECTED]

Reply via email to