IPC::Open3 and MP

2010-01-19 Thread Randy J. Ray
I have some code that uses IPC::Open3, and I've discovered (the hard way) that it doesn't work under MP2 and Apache 2.2.6. What is the "best practices" way of doing this under MP2? eval { local $SIG{ALRM} = sub { die "alarm\n" }; alarm 30; # 30 seconds is more than enough for b

Re: Adding args to a Request through InputFilter

2010-01-19 Thread Torsten Förtsch
On Tuesday 19 January 2010 17:11:03 Ivory wrote: > I would like to add args to a request on the fly thanks to an InputFilter. > > It seems like the $f->r->args($new_args) doesn't record the new argument > inside the request. > > For example : > > Inside the filter : > sub handler{ > > my ($

Adding args to a Request through InputFilter

2010-01-19 Thread Ivory
Hi, I would like to add args to a request on the fly thanks to an InputFilter. It seems like the $f->r->args($new_args) doesn't record the new argument inside the request. For example : Inside the filter : sub handler{ my ($f, $bb, $mode, $block, $readbytes) = @_; # filter args # $mode, $