Re: mod_perl server doesn't reply

2005-03-21 Thread Stas Bekman
Anders Nielsen wrote: [...] I have been doing some testing with ab and I found some interesting cases. On our production system I get the following when testing an important mod_perl enabled script from my local desktop: $ ab -n 100 -c 5 "http://www.xx.dk/cgi/xx.cgi?q=test&allowall=1"; [...

Re: mod_perl.c:61: `my_perl' undeclared under Cygwin

2005-03-21 Thread Stas Bekman
I have one request. I don't know who I have to ask for this. It's about the 'dllexport' issue with cygwin. I'd like to supply a patch, but for this patch to work I need the compiler flag '-DCYGWIN' to be set for all .c files in the WrapXS dir when compiling (or src/modules/perl when building wi

Re: [mp1] "Can't locate object method 'handler' via package 'handler'..."

2005-03-21 Thread Stas Bekman
Andrew Green wrote: On Thu, 17 Mar 2005 20:00:34 -0500, Stas Bekman wrote: Andrew, any chance you could minimise the script so that you can still reproduce the problem... Many thanks for responding, Stas. I'll certainly try. I fear that the fact that the problem is really very intermittent migh

Re: [RELEASE CANDIDATE] Apache-Test 1.21

2005-03-21 Thread Jim Jagielski
On Mar 21, 2005, at 9:57 AM, Geoffrey Young wrote: a release candidate for Apache-Test 1.21 is now available. http://cvs.apache.org/~geoff/Apache-Test-1.21-dev.tar.gz please take the time to excercise the candidate through all your existing applications that use Apache-Test and report back succe

Re: Pushing OutputHandler using PerlFixupHandler

2005-03-21 Thread Stas Bekman
Tom Schindl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Geoffrey Young wrote: |>$r->push_handlers( |> PerlOutputFilterHandler => |> \&Beso::OutFilterHandler::handler [...] Nope. Browsing the docs I found this which is working: - ---8<--- use Ap

[ANNOUNCE] Apache-Watchdog-RunAway-1.00

2005-03-21 Thread Stas Bekman
The uploaded file Apache-Watchdog-RunAway-1.00.tar.gz has entered CPAN as file: $CPAN/authors/id/S/ST/STAS/Apache-Watchdog-RunAway-1.00.tar.gz size: 10162 bytes md5: 8e53b571e3a9321fceb7b0574614996b Changes since 0.3: ported to mod_perl2 open the safehang.log file only when it's used for

[RELEASE CANDIDATE] Apache-Test 1.21

2005-03-21 Thread Geoffrey Young
a release candidate for Apache-Test 1.21 is now available. http://cvs.apache.org/~geoff/Apache-Test-1.21-dev.tar.gz please take the time to excercise the candidate through all your existing applications that use Apache-Test and report back successes or failures. --Geoff Changes since 1.20: f

Re: HTTP headers

2005-03-21 Thread Tuomo Salo
Octavian Rasnita wrote: print "Content-type: text/html\n\nTestare\n"; $q->redirect("http://localhost/";); This should print the Content-type: text/html header, then the word "testare" in the body, then the word "Location: http://localhost/";, but it doesn't happen this way. I think this is a "featu

Re: Pushing OutputHandler using PerlFixupHandler

2005-03-21 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Geoffrey Young wrote: |>$r->push_handlers( |> PerlOutputFilterHandler => |> \&Beso::OutFilterHandler::handler | | | does it work if you call it as | | $r->push_handlers( | PerlOutputFilterHandler => | 'Beso:

Re: Pushing OutputHandler using PerlFixupHandler

2005-03-21 Thread Geoffrey Young
> $r->push_handlers( > PerlOutputFilterHandler => > \&Beso::OutFilterHandler::handler does it work if you call it as $r->push_handlers( PerlOutputFilterHandler => 'Beso::OutFilterHandler::handler' ); instead? --Geoff

Pushing OutputHandler using PerlFixupHandler

2005-03-21 Thread Thomas Schindl
Hi, am I too stupid or does anybody see the problem with the code above doesn't push an output-filter? When uncommenting PerlOutputFilterHandler line the filter is invoked but I cannot push them dynamically. Why? -8<- PerlSetVar AxDebugLevel 9 PerlFixupHan