seen_eos is not set by some handlers

2006-06-13 Thread Reif Peter
I use a PerlOutputFilter in my Apache. It seems that some response-handlers don't set the $f->seen_eos field. It works for local HTML-pages and the "server-status" handler. It doesn't work for Pages that come through the standard-proxy-module, the standard PerlResponseHander Apache2::Status and th

[mp2] bug report - incorrect @ARGV split in xs/APR/APR/Makefile.PL

2006-06-13 Thread Sergey Skvortsov
1. Problem Description: The next line in xs/APR/APR/Makefile.PL: %args = map { split /=/, $_ } @ARGV; is incorrect because splits all occurencies of '=' sumbol, while only first one must be catched. To reproduce error just build mod_perl2 with: CFLAGS= -O2 -pipe -march=pentium4 Solution: ---

Re: mod_perl - make test fails on Solaris 10

2006-06-13 Thread Sheila R. Bryant
Many thanks for all the suggestions, and apologies for my slow response. First step - I'll update SunStudio. Currently on version 8. Then I'll have another go from scratch and use the cookbook John pointed out. Hopefully all will then be well and you'll hear no more from me on this Thanks

test

2006-06-13 Thread Reif Peter
sorry for the test, but my posts are not coming through

"use overload" with Apache2::Reload

2006-06-13 Thread Anthony Heading
Hi, I've tracked down a mod_perl problem to one of my class libraries which defined operator overloading. Simplified a lot: package MyClass; use overload ( "+" => sub { $_[0]{val} + $_[1]{val} }, "<=>" => \&compare, "cmp" => \&compare

Re: "use overload" with Apache2::Reload

2006-06-13 Thread Thomas Nagel
Anthony Heading wrote: > The "+" operator, defined using an anonymous sub, works perfectly. The > comparison operators work fine _until_ MyClass.pm is changed; but they > then give errors like "Not a CODE reference at ". Just a guess, maybe I am wrong: --- overload.pm

Re: "use overload" with Apache2::Reload

2006-06-13 Thread Perrin Harkins
On Tue, 2006-06-13 at 08:59 -0400, Anthony Heading wrote: > What I understand is happening is that Apache2::Reload is causing (as > designed) MyClass.pm to be recompiled, but perhaps into some fresh new > opaque package namespace and the old namespace is cleared out? No, it's just a normal recom

Re: "use overload" with Apache2::Reload

2006-06-13 Thread Jonathan Vanasco
On Jun 13, 2006, at 12:15 PM, Thomas Nagel wrote: So maybe: - (1) MyClass is changed and therefore recompiled (2) Another handler uses MyClass but http://perl.apache.org/docs/2.0/api/Apache2/ Reload.html#Problems_with_Scripts_Running_with_Registry_Handlers_that_ Cache_the_Code (3