Re: [mp2] PerlPostReadRequestHandler and invalid URI

2003-03-01 Thread Stas Bekman
Nick Tonkin wrote: Hi, I have a handler I call as a PerlPostReadRequestHandler sub handler { my $r = shift; my $uri = APR::URI->parse($r->pool, $r->construct_url); $uri->scheme('http'); $uri->port('8080'); $r->uri($uri->unparse()); return Apache::DECLINED; } 1; This cons

Re: [patch] $Apache::Server::SaveConfig

2003-03-01 Thread Philippe M. Chiasson
On Sun, 2003-03-02 at 12:31, Stas Bekman wrote: > Philippe M. Chiasson wrote: > > Another section backwards-compatibility item on the TODO list. > > > > Perl $Apache::Server::SaveConfig = 1 > > > > in httpd.conf will retain all the code of the sections, otherwise, > > the whole namespace is whi

Re: [patch] $Apache::Server::SaveConfig

2003-03-01 Thread Stas Bekman
Philippe M. Chiasson wrote: Another section backwards-compatibility item on the TODO list. Perl $Apache::Server::SaveConfig = 1 in httpd.conf will retain all the code of the sections, otherwise, the whole namespace is whiped (modperl_clear_symtab) stolen from mp1 Great, Philippe! A few minor co

Re: cvs commit: modperl-docs/src/docs/2.0/devel/debug c.pod

2003-03-01 Thread Stas Bekman
Geoffrey Young wrote: +=head1 Defining and Using Custom gdb Macros cool. this partially answers one of my offline questions :) that's why I've added it ;) just one thing... + +GDB provides two ways to store sequences of commands for execution as +a unit: user-defined commands and comm

Re: [patch] Proposed changes to RegistryCooker for subclassing

2003-03-01 Thread Stas Bekman
Nathan, can you please do: cd modperl-2.0/ModPerl-Registry cvs diff -u lib/ModPerl > patch and send the patch as an attachment. Your original patch doesn't apply :( Thanks. __ Stas BekmanJAm_pH --> Just Another mod_p

Re: cvs commit: modperl-docs/src/docs/2.0/devel/debug c.pod

2003-03-01 Thread Geoffrey Young
+=head1 Defining and Using Custom gdb Macros cool. this partially answers one of my offline questions :) just one thing... + +GDB provides two ways to store sequences of commands for execution as +a unit: user-defined commands and command files. See: +http://sources.redhat.com/gdb/cur

Re: Misc PerlOptions +Parent + PerlInterp*

2003-03-01 Thread Stas Bekman
Kurt George Gjerde wrote: Hi, This is some things I've come across. Lineup: Apache/2.0.43 (Win32) mod_perl/1.99_09-dev Perl/v5.8.0 DAV/2 1. When adding 'PerlOptions +Parent' to httpd.conf (in ), apache starts ok, then exits without an error message after approx 1 second. Doesn't happen on linux

interoperation of threads.pm and threaded apps embedding perl

2003-03-01 Thread Stas Bekman
It seems that there are problems with using threads.pm inside threaded applications embedding perl. Let's take mod_perl 2.0 with worker mpm (which is a threaded app. If I preload threads.pm at the server startup (thread A) and then try to use threads during request time (thread B), you will get