Re: [Patch] Support for argument-less blocks

2003-10-13 Thread Stas Bekman
Philippe M. Chiasson wrote: With apache-1.3, mod_perl users were able to do: some code in httpd-2.0, the configuration parser doesn't like container directives with no arguments (Syntax error on line nn of httpd.conf: directive missing closing '>'). So, for now, users have to resort to using

PerlMapToStorageHandler implementation

2003-10-13 Thread Geoffrey Young
hi all... attached is the implementation of the PerlMapToStorageHandler. there's not much to it, since the majority of the code is autogenerated. when I can put into words how the PerlTransHandler and PerlMapToStorageHandler are supposed to interact with eachother, and what their canonical ro

Re: Testing and smoking leave a PID file behind

2003-10-13 Thread Randy Kobes
On Mon, 13 Oct 2003, Steve Hay wrote: [ .. ] > It's true that we don't need the PID file on Win32. In fact, we don't > even need the PID -- the following chunk of your patch below: > > if (my $pid = $obj->GetProcessID) { > Win32::Process::KillProcess($pid, 0); > } > else { >

[ANNOUNCE] mod_perl-1.29

2003-10-13 Thread Philippe M. Chiasson
The URL http://apache.org/dyn/closer.cgi/perl/mod_perl-1.29.tar.gz or http://www.perl.com/CPAN/modules/by-module/Apache/mod_perl-1.29.tar.gz has entered CPAN as file: $CPAN/authors/id/G/GO/GOZER/mod_perl-1.29.tar.gz size: 378877 bytes md5: 1491931790509b9af06fc037d02b0e7a This

Re: Testing and smoking leave a PID file behind

2003-10-13 Thread Steve Hay
Randy Kobes wrote: On Mon, 13 Oct 2003, Steve Hay wrote: Randy Kobes wrote: [ patch included ] which kills the process (if it's alive - that's what kill(0, $pid) is supposed to check), and if it does so, explicitly unlinks the pid file. It also, when the server starts, unlinks a pid fi

Re: Testing and smoking leave a PID file behind

2003-10-13 Thread Randy Kobes
On Mon, 13 Oct 2003, Steve Hay wrote: > Randy Kobes wrote: [ patch included ] > >which kills the process (if it's alive - that's what > >kill(0, $pid) is supposed to check), and if it does so, > >explicitly unlinks the pid file. It also, when the server > >starts, unlinks a pid file if that exists

Re: Testing and smoking leave a PID file behind

2003-10-13 Thread Steve Hay
Stas Bekman wrote: Steve Hay wrote: Stas Bekman wrote: Steve Hay wrote: I notice that running tests via nmake test, t/TEST or t/SMOKE leaves a httpd.pid file behind in t/logs after the server has stopped. Is this supposed to happen? I thought Apache normally deleted the httpd.pid file when

Re: Testing and smoking leave a PID file behind

2003-10-13 Thread Steve Hay
Randy Kobes wrote: On Fri, 10 Oct 2003, Steve Hay wrote: [ ... ] I don't know how to do the "graceful" stop, though. What we want is a bit like trying TERM then KILL on Unix, but that doesn't work on Win32 -- see the entry for kill() in the perlport manpage! Win32::Process doesn't have any "