code ;)
code can be found here: http://search.cpan.org/~mock/
mock
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
modules on CPAN which now
> include a test suite.
>
> You want to keep TestTieBucketBrigade.pm out of project/lib and put it
> under t instead. See the modperl-2.0 test suite.
>
I'm having a little difficulty figuring out how to create request which isn't
HTTP. I
> name, since it's an APR feature and not Apache's one.
>
> But if it's already implemented, nothing stops us from putting it into the
> core as it is (in perl) and then port it to C when we get time. Or may be
> 'mock' will want to do that ;)
>
I was
ot right. How about Apache::App::SMTP? Can
everyone else live with that? Alternatively, Apache::App::SMTPd.
>
> Meanwhile, I've linked to your module from:
> http://perl.apache.org/docs/2.0/user/handlers/protocols.html#CPAN_Modules
> as the first mp2 protocol implementation on
namespace, so there is no
> > collision. I suppose once the core supports it, you can just nuke it
> > from CPAN if you are happy with it.
>
> mock is much farther along with it than I am - I was creating it as a
> tutorial for people who get a $bb and don't know what to d
ng you aren't an idiot and leave
the private key somewhere internet accessible, this should be as proof against
hackers as any other credit card processing.
enjoy
mock
Business-OnlinePayment-StoredTransaction-0.01.tar.gz
Description: application/tar-gz
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
On Wed, Aug 11, 2004 at 01:01:23AM -0700, Bart Simpson wrote:
>
> --- mock <[EMAIL PROTECTED]> wrote:
>
> > This is about to go out to CPAN, but since it seems
> > there is some question
> > as to how to do this, I'll send it out a little
> >
will be talking about a bunch of new tricks for credit card processing
at YAPC::Europe this year, as well as, (just to bring the topic back to
mod_perl) the experience I had building an MTA using Apache and mod_perl.
mock
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http:/
On Wed, Aug 11, 2004 at 09:36:42AM -0400, Perrin Harkins wrote:
> mock wrote:
> >This is about to go out to CPAN, but since it seems there is some question
> >as to how to do this, I'll send it out a little early. Attached is a
> >module
> >for safely encryptin
ucketBrigade we do the following
sub FILENO {
#returns magic fileno which select and fdopen will do something special with
shift;
return MAGIC_FILENO;
}
Provided you don't need fd 7 anywhere else, this should work. Ideally we
should get the real fd and use it instead.
So all we need to make IO::Select, select and everything else work, is the
ability to poll for data on the socket, which we'll just stick in the
overridden select at the appropriate point above.
mock
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Perl's readline.
>
> Matt.
>
I think there is the potential for an even better speed increase with a little
reworking of how QPSMTPD works. Some of the stuff you're doing (the timeout
bits you showed me) might be better left to Apache to handle. Also, you might
want to try it
On Fri, Oct 06, 2006 at 07:25:06PM +0200, Clinton Gormley wrote:
> On Fri, 2006-10-06 at 18:48 +0200, Hendrik Van Belleghem wrote:
> > "mock" talked about XSS at this years YAPC::Europe in Birmingham a few
> > weeks ago. He had quite a few examples. His slides are at
>
Hi all,
I searched the internet for a wile now and couldn't find an answer to my
question.
We have the following situation:
a) In a virtual host configuration we have several Alias entries pointing to
several
directories and files
b) At the end of the config we have a ScriptAliasMatch entry of
is doesn't work. It seams that apache jumps right into the
error handling stuff as soon as a status code >= 400 is seen.
How can we dynamically create own error documents without using
the lower level mod_perl/apache api? Is there a simple way?
How can we achieve that?
Best regards
Andreas Mock
is doesn't work. It seams that apache jumps right into the
error handling stuff as soon as a status code >= 400 is seen.
How can we dynamically create own error documents without using
the lower level mod_perl/apache api? Is there a simple way?
Best regards
Andreas Mock
Hi all,
after searching for a while without finding an answer to my question
I hope you can help me,
We're using mod_perl with ModPerl::Registry to have only a thin
layer between apache and our perl scripts. So far so good.
Now we want to produce error documents dynamically and thought
this could
> -Ursprüngliche Nachricht-
> Von: "Torsten Foertsch"
> Gesendet: 29.09.09 10:01:26
> An: modperl@perl.apache.org
> Betreff: Re: ModPerl::Registry and Error Documents
>
> You have asked this question already 2 times before, on 17.09.09 12:13
> and 17.09.09 11:15. The first time I have a
> -Ursprüngliche Nachricht-
> Von: "Torsten Foertsch"
> Gesendet: 17.09.09 13:14:16
> An: modperl@perl.apache.org
> CC: Andreas Mock
> Betreff: Re: ModPerl::Registry and custom error documents
> On Thu 17 Sep 2009, Andreas Mock wrote:
> > Ho
en!
Best regards
Andreas Mock
-Ursprüngliche Nachricht-
Von: Steve Hay
Gesendet: 12.03.2010 10:58:15
An: "Torsten Förtsch" ,modperl@perl.apache.org
Betreff: RE: Setting Content-Type in a custom response (mp2)
>Torsten Förtsch wrote on 2010-03-11:
>> On Thursday 11 March
Hi Tobias,
your whole scenario depends on the possibility to reliably
cancel a running query on the database.
If your database and client (software) is able to do so,
which has to be tested, the cancel button could send
another ajax request with an identifier of the initial
query which then would
;A error has occurred'. Or you can
feed informations for certain cornercases or debugging.
Hope I could help. Greetings to Torsten.
Best regards
Andreas Mock
> -Original Message-
> From: David Hofmann [mailto:elmic11...@gmail.com]
> Sent: Tuesday, October 25, 2011 5:20 PM
&
Hi Tatsuhiko,
which proxy do you use in front?
Best regards
McA
-Ursprüngliche Nachricht-
Von: Tatsuhiko Miyagawa [mailto:miyag...@gmail.com]
Gesendet: Sonntag, 14. Oktober 2012 20:57
An: modperl@perl.apache.org
Betreff: Re: Coupling Plack/PSGI with mod_perl, or an alternate
architectu
Hi all,
please, please don't forget to restrict yourself
to the 8.3 naming convention. Anything else is
troublesome...
... the executable perl.exe is not named by
accident but follows deep wisdom.
;-)
McA
-Ursprüngliche Nachricht-
Von: demerphq [mailto:demer...@gmail.com]
Gesendet: Do
Have you loaded Apache2::RequestRec?
Best regards
Andreas Mock
Von: John Dunlap [mailto:j...@lariat.co]
Gesendet: Dienstag, 18. März 2014 16:59
An: mod_perl list
Betreff: Custom response problem
I recently upgraded my workstation from Debian 6 to Debian 7 and I'm now
encount
What does this give to you?
perl -MApache2::RequestRec -e'print Apache2::RequestRec->VERSION'
Regards
Andreas
Von: John Dunlap [mailto:j...@lariat.co]
Gesendet: Dienstag, 18. März 2014 17:16
An: Andreas Mock
Cc: mod_perl list
Betreff: Re: Custom response problem
he same in both cases. If I attempt to install
it from CPAN, it says that it is already installed.
On Tue, Mar 18, 2014 at 12:13 PM, Andreas Mock wrote:
Have you loaded Apache2::RequestRec?
Best regards
Andreas Mock
Von: John Dunlap [mailto:j...@lariat.co]
Gesendet: Dienstag, 18
ns.
Is there a easy way to get (and dump) the raw request body?
I digged around the Apache2::-modules but didn't find something
appropriate.
Best regards
Andreas Mock
Hi Bruce,
I'm just guessing, but this sounds much like reusing or double using of Oracle
db handles, context handles or statement handles.
You have to have a look at the bookkeeping of the handles per request. Also
forking of the childs may byte you.
You must ensure that db handles are ONLY ope
Hi Bruce,
thank you for the feedback.
Have you posted it under "#use" ? :-
Best regards
Andreas
Von: Bruce Johnson
Gesendet: Dienstag, 3. September 2019 18:36
An: Andreas Mock
Cc: dbi users ; mod_perl list
Betreff: Re: Weird issues using DBI + mod_perl
Jus
Hi Thomas,
why not implementing the follwoing steps.
1) create tmp file.
2) convert to tmp file
3) if everything worked fine reading file, setting appropriate headers and
print content and afterwards delete tmp file.
4) if something went wrong you can send an error page with appropriate headers
Hi Andrew,
have a look at
$r->err_headers_out->add('Content-Type' => 'bla bla');
Best regards
Andreas
Von: Andrew Green
Gesendet: Dienstag, 24. September 2019 18:39
An: modperl@perl.apache.org
Betreff: Setting a MIME type on $r->custom_response
Hi all,
Is it possible to
You have to see in which virtualhost section this rule was put into.
I'm pretty sure it's only in the http section.
-Ursprüngliche Nachricht-
Von: Wesley Peng
Gesendet: Donnerstag, 9. Januar 2020 03:44
An: modperl@perl.apache.org
Betreff: Question on a rewrite rule
Hello
After installa
Hi Vincent,
I don't have Debian. Therefor just a view hints.
1) CGI::Cookie loading is done sometimes dynamically via require. E.g. in
CGI.pm itself.
2) mod_perl 1/2 with the helper modules Apache2::RequestUtil interact
dynamically.
3) It can be possible that you have a version clash (alone or in
Hi all,
we also have a big code base whose starting point is more than two decades ago.
If you have developers who know their stuff and all the internal developed
modules
and helpers you're good to go. BUT: We do have problems to get young, fresh
perl developers. Why? This language is simply unat
Hi Joseph,
your description is very vague, so can only answer on some assumptions:
It sounds like a timeout is fired somewhere.
Best advice in these situations: Log as many steps as you can. Keep your
eyes open on TCP/IP and higher level timeouts.
Declare only ONE instance responsible for a
t out.
Joe
On Tue, May 13, 2025 at 10:07 AM Andreas Mock wrote:
Hi Joe,
when you send a request via LWP::UserAgent to the Server which
does the long lasting SFTP calls, then I'm pretty sure that you
get a timout in the LWP::UserAgent code.
I'm pretty sure the client
tely and
then provide correct status in the message body.
Once a response code/header has been sent timeout
won't trigger and you could potentially hold the
connection for hours without a problem.
37 matches
Mail list logo