Re: DBI/mod_perl2 failure

2003-01-20 Thread Stas Bekman
Daryl Lee wrote: The following is the full report of a problem I'm having. Any pointers will be appreciated. I'm worried I may have the wrong "mod_perl2"--it's not clear to me why the version number should be "1.99_08"; I expected "2.x". -8<-- Start Bug Report 8<

Re: [mp2] make test errors w/. threadmutex, push_handlers

2003-01-20 Thread Stas Bekman
Nick Tonkin wrote: On Mon, 20 Jan 2003, Stas Bekman wrote: Nick Tonkin wrote: apr/threadmutex..FAILED tests 1-3 Failed 3/3 tests, 0.00% okay [...] Thanks Nick and Andrew for debugging on this one. I was able to reproduce the problem by turni

Re: [mp2] make test errors w/. threadmutex, push_handlers

2003-01-20 Thread Stas Bekman
Andrew Wyllie wrote: SetHandler modperl PerlResponseHandler TestError::push_handlers Does it appear when you run t/TEST -conf? Nope: nick@fatboy /tmp/build/modperl-2.0>t/TEST -conf *** cleaning out current configuration *** reconfiguration done nick@fatboy /tmp/build/modperl-2.

Re: [Patch] Add support ./t/TEST -debug=valgrind

2003-01-20 Thread Stas Bekman
Philippe M. Chiasson wrote: I've been playing with valgrind for a while, and it never worked with httpd 2.0 ;-( Well, the latest version of valgrind, 1.0.4 finally fixes it ! I was able to run mod_perl 2.0 under valgrind for the first time ;-) So, being lazy, I patched Apache-Test. sounds good

Re: rfc: new filtering APIs

2003-01-20 Thread Stas Bekman
Geoffrey Young wrote: [...] ok, I've looked at the current API docs a bit more, and I think that attributes are just fine - I hadn't realized that so much is attribute driven (I haven't looked at the docs in a while :) I think it could look like: sub init : FilterInitHandler { # we need some

Re: rfc: new filtering APIs

2003-01-20 Thread Geoffrey Young
I think it could look like: sub init : FilterInitHandler { # we need some way to get at $r here, namely $r->update_mtime() $r->update_mtime($mtime); } sub handler : FilterRequestHandler { # normal stuff } since the call to ap_register_*_filter would be the place to add the filter_init r

Re: rfc: new filtering APIs

2003-01-20 Thread Geoffrey Young
this probably belongs just on dev :) Stas Bekman wrote: Geoffrey Young wrote: But the $filter object doesn't exist till it was called by Apache, it's created dynamically when Apache calls the filter. So I'm not sure where you want to call $filter->init(). If this can be done in the first

Re: DBI/mod_perl2 failure

2003-01-20 Thread Randy Kobes
On Sun, 19 Jan 2003, Daryl Lee wrote: > The following is the full report of a problem I'm having. Any pointers > will be appreciated. I'm worried I may have the wrong "mod_perl2"--it's > not clear to me why the version number should be "1.99_08"; I expected > "2.x". That version number is corre

Re: [mp2] make test errors w/. threadmutex, push_handlers

2003-01-20 Thread Nick Tonkin
On Mon, 20 Jan 2003, Stas Bekman wrote: > Nick Tonkin wrote: > >>>apr/threadmutex..FAILED tests 1-3 > >>>Failed 3/3 tests, 0.00% okay > >> > >>[...] > >> > [Sat Jan 18 21:23:17 2003] [error] [client 127.0.0.1] Can't locate > >> > APR/ThreadMutex.

[Patch] Add support ./t/TEST -debug=valgrind

2003-01-20 Thread Philippe M. Chiasson
I've been playing with valgrind for a while, and it never worked with httpd 2.0 ;-( Well, the latest version of valgrind, 1.0.4 finally fixes it ! I was able to run mod_perl 2.0 under valgrind for the first time ;-) So, being lazy, I patched Apache-Test. Gozer out. Index: Apache-Test/lib/Apache