Re: Connection pnotes

2006-04-25 Thread Philippe M. Chiasson
> be >>>>> then I'll work on recreating and removing the warnings. >>>> If the patch looks good to you, I'll check it in and we should be good. >>> yeah, go ahead. >> >> We now have connection pnotes as of r386784. >> >> Documentation

Re: Connection pnotes

2006-04-24 Thread Fred Moyer
you, I'll check it in and we should be good. yeah, go ahead. We now have connection pnotes as of r386784. Documentation patch is still necessary. Here's a suggested patch. I've created a separate pod file for Apache2::ConnectionUtil. I've referenced Apache2::RequestU

Re: Connection pnotes

2006-03-17 Thread Philippe M. Chiasson
he tests once they are >>>committed. to that end, let's get the functionality to where it needs to be >>>then I'll work on recreating and removing the warnings. >> >>If the patch looks good to you, I'll check it in and we should be good. > > yeah, go a

Re: Connection pnotes

2006-03-15 Thread Geoffrey Young
> This seems to make the problem go away, but I am not sure if that's where it > belongs: > > sub handler { > > my $r = shift; > > # make it ok to call ok() here while plan()ing elsewhere > Apache::Test::init_test_pm($r); > > + Test::_reset_globals() if Test->can('_reset_globals'

Re: Connection pnotes

2006-03-13 Thread Philippe M. Chiasson
Geoffrey Young wrote: >>Passes all tests, but I see tons (66 to be precise) of this warning in the >>error_log, geoff ? >> >>"Use of uninitialized value in caller at /usr/lib/perl5/5.8.6/Test.pm line >>374." > > yeah, I suspect that's because I'm playing around with how things are > planned, etc.

Re: Connection pnotes

2006-03-13 Thread Geoffrey Young
> Passes all tests, but I see tons (66 to be precise) of this warning in the > error_log, geoff ? > > "Use of uninitialized value in caller at /usr/lib/perl5/5.8.6/Test.pm line > 374." yeah, I suspect that's because I'm playing around with how things are planned, etc. it will probably be easie

Re: Connection pnotes

2006-03-13 Thread Philippe M. Chiasson
Philip M. Gollucci wrote: >>I'll work something up when I have the chance... in a month or two :) > > God do I know the feeling. > > Thanks for the good eyes Gozer. No problem, and attached is a modified patch that: 1 - Doesn't leak a HV * on each pass 2 - Merges the pnotes logic between r->pno

Re: Connection pnotes

2006-03-10 Thread Philip M. Gollucci
I'll work something up when I have the chance... in a month or two :) God do I know the feeling. Thanks for the good eyes Gozer. -- Philip M. Gollucci ([EMAIL PROTECTED]) 323 219 4708 Consultant / http://p6m7g8.net/Resume/

Re: Connection pnotes

2006-03-10 Thread Geoffrey Young
> What I mean is that you are leaking a HV. Every connection, if someone uses > c->pnotes, you will run this code: > > if (!ccfg->pnotes) { > ccfg->pnotes = newHV(); > } > > And you have nothing in place to cleanup this newly created HV (and it's > contents) ah, yeah. d'oh! I

Re: Connection pnotes

2006-03-10 Thread Philippe M. Chiasson
Geoffrey Young wrote: >>All tests pass for me on various platforms, but... >> >>Where do you cleanup HV *modperl_config_con_t->pnotes ? Looks to me >>like you are leaking it. You'd need something similar to what we >>are doing for request pnotes: >> >>apr_status_t modperl_config_request_cleanup(pTH

Re: Connection pnotes

2006-03-10 Thread Geoffrey Young
> All tests pass for me on various platforms, but... > > Where do you cleanup HV *modperl_config_con_t->pnotes ? Looks to me > like you are leaking it. You'd need something similar to what we > are doing for request pnotes: > > apr_status_t modperl_config_request_cleanup(pTHX_ request_rec *r) >

Re: Connection pnotes

2006-03-10 Thread Philippe M. Chiasson
Geoffrey Young wrote: >>-plan $r, tests => 9; >>+# make it ok to call ok() here while plan()ing elsewhere >>+Apache::Test::init_test_pm($r); >>+$Test::ntest = 1 + (22 * ($r->args - 1)); >>+$Test::planned = 22; > > and of course everyone is wondering what this is. it would he

Re: Connection pnotes

2006-01-27 Thread Philip M. Gollucci
Geoffrey Young wrote: --- /dev/null 2006-01-27 10:40:15.572121608 -0500 +++ xs/Apache2/ConnectionUtil/Apache2__ConnectionUtil.h 2005-10-25 13:33:27.0 -0400 AFAIK, the only thing that was a problem is that Apache2/ConnectionUtil isn't an SVN dir. So when you apply the patch locally,

Re: Connection pnotes

2006-01-27 Thread Geoffrey Young
> -plan $r, tests => 9; > +# make it ok to call ok() here while plan()ing elsewhere > +Apache::Test::init_test_pm($r); > +$Test::ntest = 1 + (22 * ($r->args - 1)); > +$Test::planned = 22; and of course everyone is wondering what this is. it would help if my (third) patch ac

Re: Connection pnotes

2006-01-27 Thread Geoffrey Young
>>I think I was waiting for him to get back to me with some real test results, >>which IIRC he said he would do when he could upgrade :) >> >>remarks on the list as to the thread safety made me a bit nervous about >>commiting this particular bit, just because I don't have a clue when it >>comes to

Re: Connection pnotes

2006-01-26 Thread Philip M. Gollucci
ConnectionUtil.xs: In function 'XS_Apache2__Connection_pnotes': ConnectionUtil.xs:36: warning: implicit declaration of function 'mpxs_Apache2__Connection_pnotes' ConnectionUtil.xs:36: warning: assignment makes pointer from integer without a cast make[3]: *** [ConnectionUtil.o] Error 1 I vaguely

Re: Connection pnotes

2006-01-26 Thread Philippe M. Chiasson
Geoffrey Young wrote: > > Philip M. Gollucci wrote: > >>Geoff, >> >>http://aspn.activestate.com/ASPN/Mail/Message/modperl/2871864 >> >>I never saw this get committed .. ? >> >>What needs to happen for that ? > > > I think I was waiting for him to get back to me with some real test resul

Re: Connection pnotes

2006-01-09 Thread Geoffrey Young
Philip M. Gollucci wrote: > Geoff, > > http://aspn.activestate.com/ASPN/Mail/Message/modperl/2871864 > > I never saw this get committed .. ? > > What needs to happen for that ? I think I was waiting for him to get back to me with some real test results, which IIRC he said he would do

Connection pnotes

2006-01-09 Thread Philip M. Gollucci
Geoff, http://aspn.activestate.com/ASPN/Mail/Message/modperl/2871864 I never saw this get committed .. ? What needs to happen for that ? -- "Love is not the one you can picture yourself marrying, but the one you c