Re: [PATCH] Re: [BUG] Bad refcounting in Apache->push_handlers()

2005-04-07 Thread Stas Bekman
Stas Bekman wrote: Still need to check this one: Now with threaded perl 5.8.6 everything works fine, but: t/directive/perlrequire fails with: can't find ANONSUB top entry (get) The patch below fixes the non-threaded case. with non-threaded 5.6.1 a bunch of tests fail with: Undefined subroutine &mai

Re: [PATCH] Re: [BUG] Bad refcounting in Apache->push_handlers()

2005-04-07 Thread Stas Bekman
Dominique Quatravaux wrote: Any chance you could add a test to the modperl2 test suite that I can reproduce the problem with? I finally got around to doing that, sorry for the delay. Here is a new test case, with inspiration from TestHooks::inlined_handlers. Warning: since Apache->server->push_ha

[PATCH] Re: [BUG] Bad refcounting in Apache->push_handlers()

2005-03-31 Thread Dominique Quatravaux
> Any chance you could add a test to the modperl2 test suite that I can > reproduce the problem with? I finally got around to doing that, sorry for the delay. Here is a new test case, with inspiration from TestHooks::inlined_handlers. Warning: since Apache->server->push_handlers() needs to opera

Re: [BUG] Bad refcounting in Apache->push_handlers()

2005-03-09 Thread Stas Bekman
Dominique Quatravaux wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: I'm trying to make a PerlFixupHandler that reads: sub ssl_is_mandatory { my $r = shift; require Apache::RequestRec; return 403 unless defined($r->subprocess_env("SSL_SERVER_S_D

[BUG] Bad refcounting in Apache->push_handlers()

2005-03-09 Thread Dominique Quatravaux
-8<-- Start Bug Report 8<-- 1. Problem Description: I'm trying to make a PerlFixupHandler that reads: sub ssl_is_mandatory { my $r = shift; require Apache::RequestRec; return 403 unless defined($r->subprocess_env("SSL_SERVER_S_DN")); return 0 } Apache->pu