Re: piece of code in mod_perl guide

2001-10-07 Thread Stas Bekman
pascal barbedor wrote: hello, I am reading mod_perl guide and i had a problem with a piece of code in chapter 9.7.4.2 about reloading configuration files. this is version jan 2001 but i have checked in the last one the piece of code is the same. when running the code

Re: how to catch a killed task?

2001-10-07 Thread Stas Bekman
Christoph Bergmann wrote: hi... i use BSD::Resource to limit the ressources of the apache tasks. this works fine but now i want to clean up afterwards but i don't know how to catch a killed task... here is what i tried with signals: my entries in httpd.conf: PerlModule

Apache::Request UPLOAD_HOOK

2001-10-07 Thread Issac Goldstand
The documentation on how to use this feature is a bit sketchy... Can anyone explain: 1) What the variables passed to the callback function are (looks like the Apache::Upload object is the first, but what's been filled in there when the hook gets called? The second looks like the current

Re: piece of code in mod_perl guide

2001-10-07 Thread pascal barbedor
- Original Message - From: Stas Bekman [EMAIL PROTECTED] To: pascal barbedor [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, October 07, 2001 2:22 PM Subject: Re: piece of code in mod_perl guide I have located that if i change $MODIFIED{$file} = -M _; to an

Re: how to catch a killed task?

2001-10-07 Thread Perrin Harkins
it just killed the task at soft limit without calling cleanup. what is wrong? I believe the limiting done by BSD::Resource is pretty harsh and may actually be at the kernel level. I don't think you can catch the signal and deal with it yourself. What you should do is use Apache::SizeLimit to

Re: piece of code in mod_perl guide

2001-10-07 Thread pascal barbedor
[ ] config.pm file - package AFPA::Evolif::Config ; use XML::LibXML () ; use XML::LibXSLT () ; use XML::XPath () ; use XML::Simple () ; use DBI () ; [ ... ] Hi, Could it be that XML::XPath does file tests on the file

POST and GET and getting multiple unsynced requests

2001-10-07 Thread Mark Maunder
Hi all, I've written a web app as a single mod_perl handler. I started writing my forms so they would do a POST and GET simultaneously. I did this by making the form method=POST action=/job_details?job=65 for example. Now I notice that IE and Netscape do a POST and GET request every time the

cvs commit: modperl-2.0/xs/maps apache_functions.map apr_functions.map

2001-10-07 Thread dougm
dougm 01/10/07 12:22:49 Modified:lib/ModPerl TypeMap.pm xs/Apache/Filter Apache__Filter.h xs/maps apache_functions.map apr_functions.map Log: remove ModPerl::TypeMap::first_class guessing based on return_type Revision ChangesPath 1.11

cvs commit: modperl-2.0/src/modules/perl modperl_util.c

2001-10-07 Thread dougm
dougm 01/10/07 13:20:53 Modified:src/modules/perl modperl_util.c Log: style nits Revision ChangesPath 1.22 +20 -17modperl-2.0/src/modules/perl/modperl_util.c Index: modperl_util.c ===

cvs commit: modperl-2.0/src/modules/perl modperl_util.c modperl_util.h

2001-10-07 Thread dougm
dougm 01/10/07 13:22:02 Modified:src/modules/perl modperl_util.c modperl_util.h Log: s/bool/int/ (i dont think bool is portable) Revision ChangesPath 1.23 +1 -1 modperl-2.0/src/modules/perl/modperl_util.c Index: modperl_util.c

cvs commit: modperl-2.0/src/modules/perl modperl_util.c modperl_util.h

2001-10-07 Thread dougm
dougm 01/10/07 13:24:22 Modified:src/modules/perl modperl_util.c modperl_util.h Log: add modperl_perl_call_list() function Revision ChangesPath 1.24 +23 -0 modperl-2.0/src/modules/perl/modperl_util.c Index: modperl_util.c

cvs commit: modperl-2.0/src/modules/perl modperl_perl_global.c modperl_perl_global.h

2001-10-07 Thread dougm
dougm 01/10/07 14:59:16 Modified:src/modules/perl modperl_perl_global.c modperl_perl_global.h Log: implement logic for saving Perl special subroutines (END,BEGIN,CHECK,INIT) into the per-interpreter PL_modglobal hash modperl_perl_global_avcv_call() function to call the

cvs commit: modperl-2.0/src/modules/perl modperl_perl_global.c modperl_perl_global.h

2001-10-07 Thread dougm
dougm 01/10/07 15:04:07 Modified:src/modules/perl modperl_perl_global.c modperl_perl_global.h Log: add modperl_modglobal_lookup() function to lookup a modperl_modglobal_key_t based on string name Revision ChangesPath 1.7 +14 -0

cvs commit: modperl-2.0/src/modules/perl modperl_perl_global.c modperl_perl_global.h

2001-10-07 Thread dougm
dougm 01/10/07 15:07:15 Modified:src/modules/perl modperl_perl_global.c modperl_perl_global.h Log: wont be able to use a precomputed hash for modperl_modglobal_key_t's Revision ChangesPath 1.8 +1 -1 modperl-2.0/src/modules/perl/modperl_perl_global.c

cvs commit: modperl-2.0/xs/tables/current/ModPerl FunctionTable.pm

2001-10-07 Thread dougm
dougm 01/10/07 15:11:56 Modified:xs/tables/current/ModPerl FunctionTable.pm Log: sync Revision ChangesPath 1.31 +124 -8modperl-2.0/xs/tables/current/ModPerl/FunctionTable.pm Index: FunctionTable.pm

cvs commit: modperl-2.0/lib/ModPerl ParseSource.pm WrapXS.pm

2001-10-07 Thread dougm
dougm 01/10/07 15:39:09 Modified:lib/ModPerl ParseSource.pm WrapXS.pm Log: include ModPerl:: in generated xs Revision ChangesPath 1.3 +1 -1 modperl-2.0/lib/ModPerl/ParseSource.pm Index: ParseSource.pm

cvs commit: modperl-2.0/xs/tables/current/ModPerl FunctionTable.pm

2001-10-07 Thread dougm
dougm 01/10/07 16:02:41 Modified:xs/maps modperl_functions.map xs/tables/current/ModPerl FunctionTable.pm Added: xs/ModPerl/Global ModPerl__Global.h Log: add ModPerl::Global module with functions to call/clear special lists (END,etc) Revision Changes

cvs commit: modperl-2.0/src/modules/perl mod_perl.c modperl_perl_global.c modperl_perl_global.h

2001-10-07 Thread dougm
dougm 01/10/07 12:04:20 Modified:src/modules/perl mod_perl.c modperl_perl_global.c modperl_perl_global.h Log: add modperl_perl_global_request_{restore,save} functions for future use of request_rec to manage globals Revision ChangesPath 1.87