Re: Apache::DBI patches

2005-08-09 Thread Philip M. Gollucci
Hi, I agree with all 3 patches. Thanks for splitting them out. That made my life so much easier. HTH -- The URL http://people.apache.org/~pgollucci/CPAN/Apache-DBI/Apache-DBI-0.100.tar.gz has entered CPAN as file: $CPAN/authors/id/P/PG/PGOLLUCCI/Apache-DBI-0.100.tar.gz size

Re: [MP2] mod_perl 2.0 seg faulting..

2005-08-09 Thread Justin Wheeler
Here is the backtrace with debugging enabled: #0 0x0807be3f in modperl_handler_perl_get_handlers (my_perl=0x834edb0, handp=0x8137370, p=0x837f3d8) at modperl_handler.c:579 #1 0xb7a4658a in XS_Apache2__RequestRec_get_handlers () from /opt/lib/perl/5.8.4//auto/Apache2/RequestUtil/RequestUtil.so

RE: Apache::DBI patches

2005-08-09 Thread Joe Thomas
These patches were originally by Patrick Mulvany, and posted to mod_perl in 2003. I've made sure they apply to Apache-DBI-0.99, and are compatible with my re-scoping of $Idx. The ping patch looks obviously correct to me. It makes sure that the database is always pinged on connect() if PingTimeOu

[Fwd: ApacheCon US 2005 CFP slightly extended]

2005-08-09 Thread Perrin Harkins
You've got an extra couple of days to put in a talk, so let's get some more mod_perl talks in there! ApacheCon is a great conference to speak at and I know that many of you have stories worth telling but haven't stepped up yet. This is your chance. - Perrin --- Begin Message --- Since folks are

RE: Apache::DBI patches

2005-08-09 Thread Joe Thomas
> While you're at it, can you post 2 separate ones instead of 1. Here's the first patch. It moves $Idx from being a file-scoped variable to connect() scope. The cleanup handler is then passed a closure containing $Idx: $s->push_handlers("PerlCleanupHandler", sub { cleanup($Idx) }); or

Re: Apache::DBI patches

2005-08-09 Thread Philip M. Gollucci
Joe Thomas wrote: I'll attempt take a look at this sometime this week. At first glance I think I have some questions about it. I'll get back to you after more thorough investigation. Please CC the modperl@perl.apache.org list as I'm not technically the maintainer, Ask still is, and its s

RE: Apache::DBI patches

2005-08-09 Thread Joe Thomas
> I'll attempt take a look at this sometime this week. At first glance I > think I have some questions about it. I'll get back to you after more > thorough investigation. > > Please CC the modperl@perl.apache.org list as I'm not technically the > maintainer, Ask still is, and its supposed to

Re: [MP2] mod_perl 2.0 seg faulting..

2005-08-09 Thread Philippe M. Chiasson
Justin Wheeler wrote: > Oh, wait .. it gets better. > > I fixed my previous problem, but have a new one. Sorry to hear that. > If I put my system under heavy load, I start seeing these in my log files: > > [Tue Aug 09 15:46:05 2005] [error] lookup of 'Main::session_check' failed > > session_ch

[MP2] mod_perl 2.0 seg faulting..

2005-08-09 Thread Justin Wheeler
Oh, wait .. it gets better. I fixed my previous problem, but have a new one. If I put my system under heavy load, I start seeing these in my log files: [Tue Aug 09 15:46:05 2005] [error] lookup of 'Main::session_check' failed session_check is sometimes another handler in the list of handlers (d

Re: Apache::DBI patches

2005-08-09 Thread Philip M. Gollucci
Joe Thomas wrote: Hi Philip, I notice that you're maintaining a new version of Apache::DBI. About a year ago, I posted a couple of patches to the mod_perl list, and sent them to Ask, but never received any response. My patch fixes a problem with database rollback/cleanup when more than one dat

Re: [MP2] mod_perl 1.0 -> mod_perl 2.0 conversion woes.

2005-08-09 Thread Justin Wheeler
Yup. As it turns out, it was my own stupidity. It was calling handler again, but handler was returning DECLINED due to a mismatched content_type, and mod_perl had simply remembered the next handler was dbconnect and went about its day. Problem was fixed by having handler() clear out any other Pe

[MP2] mod_perl 1.0 -> mod_perl 2.0 conversion woes.

2005-08-09 Thread Justin Wheeler
I realise there's a good chance my issue is my own stupidity, but I'm hoping someone else can help out -- I've searched this mailing list and google, all to no avail. I am in the midst of trying to convert my software from mod_perl 1 to mod_perl 2 without the use of Apache2::Compat. I have import

Re: mod_perl2 and PHP

2005-08-09 Thread Dominique Quatravaux
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Geoffrey Young wrote: > > Dominique Quatravaux wrote: > >> $r->subprocess_env() (undocumented but present in mod_perl 1.3 >> >> $r->internal_redirect() (again undocumented but present in >> mod_perl 1.3 > > > unless you mean strictly in terms of what

[Fwd: PAUSE indexer report PGOLLUCCI/Apache-Peek-1.05.tar.gz]

2005-08-09 Thread Philip M. Gollucci
Horray, Its finally successfully indexed. There is no functinal change in this version from 1.03 other then I've fixed the CPAN/Pause indexing. Thanks Andreas! Original Message Subject: PAUSE indexer report PGOLLUCCI/Apache-Peek-1.05.tar.gz Date: Tue, 9 Aug 2005 06:54:33 +02