On 02.10.2015 10:19, James Smith wrote:
perl -cw sometimes throws errors with mod_perl code - as it isn't running in
the Apache
environment...
I get the same warning testing my output filter handler when running with -cw -
but it
works well in Apache...!
This begs for a follow-up question, w
perl -cw sometimes throws errors with mod_perl code - as it isn't
running in the Apache
environment...
I get the same warning testing my output filter handler when running
with -cw - but it
works well in Apache...!
On 10/1/2015 6:59 PM, A. Warnier wrote:
Hi.
I am trying to write an Apache2
(posted with wrond id, re-posting)
On Thu, 1 Oct 2015 19:59:34 +0200
"A. Warnier" wrote:
>
> sub handler : FilterRequestHandler {
>
> What I am missing ?
>
I get the same error when I add ': FilterRequestHandler'.
Using just 'sub handler {' instead works
FilterRequestHandler is assumed wh
I wrote a module based on a talk Geoff Young gave a bazillion years ago
to abstract this problem away (sort of). You can check it out here:
http://search.cpan.org/~aprime/Apache2-Filter-TagAware-0.02/lib/Apache2/Filter/TagAware.pm
Adam
On 3/31/2011 12:30 AM, Chris Datfung wrote:
On Wed, Mar
On Thursday, March 31, 2011 12:08:03 Chris Datfung wrote:
> y string is always within the first 5000 bytes, but setting BUFF_LEN to
> 8000 did not help as the buffer still sometimes gets cut after ~2500 bytes
> or so. Do you know of any way to force the bucket to be a certain length?
To my knowled
Hi Chris,
my example implementation doesnt assume a string cut-off at a certain
place. If your search string has a length of 7 bytes, the "worst case" is
that one buffer contains the first 6 bytes and the next buffer the last
one. If the string is cut at another place you just carry over a little
Hi Hendrik,
That seems like a good work around assuming the string gets cut off at the
same place each time. Thanks for that, in my case, I'm not certain that it
does. I thought the BUFF_LEN constant defines how many bytes should be read.
My string is always within the first 5000 bytes, but settin
Am Do, 31.03.2011, 06:30 schrieb Chris Datfung:
> On Wed, Mar 30, 2011 at 12:36 PM, Hendrik Schumacher
> wrote:
>
>> Am Mi, 30.03.2011, 12:17 schrieb Chris Datfung:
>>
>> I had a similar problem with a http proxy that injected a string into
>> the
>> HTML body. If the response is passed to the filt
On Wed, Mar 30, 2011 at 12:36 PM, Hendrik Schumacher wrote:
> Am Mi, 30.03.2011, 12:17 schrieb Chris Datfung:
>
> I had a similar problem with a http proxy that injected a string into the
> HTML body. If the response is passed to the filter in multiple parts there
> is a certain probability that t
Am Mi, 30.03.2011, 12:17 schrieb Chris Datfung:
> I have a script that uses Apache2::Filter to filter the server response
> output and inject a string into the HTML body. The script normally works
> fine expect intermittently the output is missing the injected string. This
> happens around 10% of t
On Wednesday 19 September 2007 10:51 am, John Saylor wrote:
> > -Original Message-
> > From: Graham TerMarsch [mailto:[EMAIL PROTECTED]
> >
> > [deletions]
> >
> > I've been working on some projects needing JS minification recently and
> > wanted to ping others and find out if anyone else w
hi
-Original Message-
From: Graham TerMarsch [mailto:[EMAIL PROTECTED]
[deletions]
I've been working on some projects needing JS minification recently and
wanted to ping others and find out if anyone else would find it useful
to have a
mod_perl2 filter that auto-minified your JS (using
12 matches
Mail list logo