Mod-perl handling of Chunked POST's

2012-07-16 Thread Raf
this scenario. Particularly whether it is up to the handler to re-assemble the payload or not; I'm pretty sure this isn't the case? I'd be grateful if someone would point me in the right direction? Cheers, Raf

Re: Kill signals against single process daemon with Devel::NYTProf::Apache

2011-05-20 Thread Raf
On Wed, 18 May 2011, ra...@dreamthought.com wrote: I am trying to profile mod-perl processes in a single process httpd with Devel::NYTProf::Apache. I use the following pattern: * start backgrounded httpd process with start=no (explicitly enabled later in the code) * request url against approp

Re: Write PerlPostReadRequestHandler

2011-05-20 Thread Raf
27;d recommend some study into modularising perl prior to your diving into implementing a custom handler. Good luck. Raf

Re: Write PerlPostReadRequestHandler

2011-05-19 Thread Raf
http://perl.apache.org/docs/2.0/user/intro/start_fast.html On Thu, 19 May 2011, marco wrote: Hi, I tried to write an handler to be execute in the PostReadRequest phase of the http request cycle. #file:touch.pl ... PerlResponseHandler touch.pl ... PerlPostReadRequestHandler touch.pl

Kill signals against single process daemon with Devel::NYTProf::Apache

2011-05-18 Thread Raf
I am trying to profile mod-perl processes in a single process httpd with Devel::NYTProf::Apache. I use the following pattern: * start backgrounded httpd process with start=no (explicitly enabled later in the code) * request url against appropriate port * send TERM signal to apache pid * nytpr

Deadlocking Apache::Session::MySQL

2010-06-15 Thread Raf
can see the get_lock waiting in the database and I can only image that release_lock hasn't been called for some reason. Am on Apache::Session::MySQL (1.01), with differing (old and new) Apache::Session versions. I am curious whether anyone has memories of seeing this before or other thoughts? Thanks in advance, Raf

Re: Odd problem

2007-05-10 Thread Raf
Hi Doc, On Tue, 8 May 2007, The Doctor wrote: I am trying to compile the most recent version of mod_perl 2 however once install, Apache says it cannot find the so even tough it is there. Pointers please. The LoadModule can point to a module either relative to your ServerRoot or it can be a

Re: SOPE::Lite / prcessing complex data types at server side

2007-04-05 Thread Raf
1'? I haven't followed the thread, however, you can then do something like: sub getStuff{ my $attrList = shift; my $listItems = $attrList->{listItem}; foreach my $attrItem (@$listItems) { my $attrName = $attrItem->{attrName}; my $attrVal = $attrItem->{attrVal}; ## do whatever } } And then call: getStuff($foo) where $foo is your previous $_[2]; Hope that this helps in some form? Raf

Re: DateTime with Apache::SmallProf

2007-01-24 Thread Raf
On Wed, 24 Jan 2007, Perrin Harkins wrote: > On 1/24/07, Raf <[EMAIL PROTECTED]> wrote: > > The code base I'm profiling is very big, monolithic and convoluted. I > > felt that level of granularity given by smallprof would probably give me > > more coverage - whi

Re: DateTime with Apache::SmallProf

2007-01-24 Thread Raf
Hi Philip, On Tue, 23 Jan 2007, Philip M. Gollucci wrote: > Raf wrote: > > Apologies for the X-post. It seemed appropriate. > > > Mot off the top of my head, why are you using Apache::SmallProf and not > Apache::Dprof -- the previous is usually too low level. The code base

DateTime with Apache::SmallProf

2007-01-23 Thread Raf
eval 195)[/usr/lib/perl5/vendor_perl/5.8.5/i686-linux/Apache/Registry.pm:183] line 4. BEGIN failed--compilation aborted at (eval 195)[/usr/lib/perl5/vendor_perl/5.8.5/i686-linux/Apache/Registry.pm:183] line 4. Any suggestions would be appreicated. Thanks, Raf

Seg Fault: ModPerl2(worker)/Perl5.8.3/Template::Process::interpolate_text

2004-05-14 Thread Raf
r someone may have experienced something similar with other handlers or perhaps it is a known tt2 problem? Further it is also important to note that I've run the same code without any trouble using the pre-fork apache model. Anyhelp would be appreciated! I'm pretty baffled at the moment

[Fwd: Seg Fault: ModPerl2(worker)/Perl5.8.3/Template::Process::interpolate_text]

2004-05-14 Thread Raf
r someone may have experienced something similar with other handlers or perhaps it is a known tt2 problem? Further it is also important to note that I've run the same code without any trouble using the pre-fork apache model. Anyhelp would be appreciated! I'm pretty baffled at the moment

Re: Apache 2.0.43 + Mod_Perl + relocation

2004-04-26 Thread Raf
rker model and I built the .so against an apache set up using the prefork model. I feel like I'm caught between a rock and an even sharper rock. Is my only way of handling this to rebuild perl? I think it is is it?? Looking for a quick and easy solution, if such a thing exists. Any suggest

Apache 2.0.43 + Mod_Perl + relocation

2004-04-26 Thread Raf
Hello All, This isn't so much a development question as it is one about deployment. I've built an application which runs with the latest and greatest mod_perl and apache 2. It's just a run of the mill content handler which delegates some stuff to Template.pm. Now due to internal strictness I ha