Geoffrey Young wrote:
$ENV{APACHE_TEST_STARTUP_TIMEOUT} now supersedes -startup_timeout
[...]
What's the reason for this change?
it was a follow up from something on modperl@
I almost always expect that command
line arguments supercede env variables.. i.e.
$> CVSROOT=foo cvs -d bar co foo
Bad C
>> $ENV{APACHE_TEST_STARTUP_TIMEOUT} now supersedes -startup_timeout
>>[...]
>
>
> What's the reason for this change?
it was a follow up from something on modperl@
> I almost always expect that command
> line arguments supercede env variables.. i.e.
>
> $> CVSROOT=foo cvs -d bar co foo
> Ba
Philippe M. Chiasson wrote:
On Thu, 2004-03-04 at 22:21 +, [EMAIL PROTECTED] wrote:
geoff 2004/03/04 14:21:27
Modified:perl-framework/Apache-Test Changes
perl-framework/Apache-Test/lib/Apache TestServer.pm
Log:
$ENV{APACHE_TEST_STARTUP_TIMEOUT} now supersedes -startup
On Thu, 2004-03-04 at 22:21 +, [EMAIL PROTECTED] wrote:
> geoff 2004/03/04 14:21:27
>
> Modified:perl-framework/Apache-Test Changes
>perl-framework/Apache-Test/lib/Apache TestServer.pm
> Log:
> $ENV{APACHE_TEST_STARTUP_TIMEOUT} now supersedes -startup_timeout
>
Geoffrey Young wrote:
sub config_defines {
+my $self = shift;
+
my @defines = ();
for my $item (qw(useithreads)) {
@@ -88,7 +90,9 @@
push @defines, "-DPERL_\U$item";
}
-push @defines, map { "-D$_" } split " ", shift->{config}->{vars}->{defines};
+
>sub config_defines {
> +my $self = shift;
> +
>my @defines = ();
>
>for my $item (qw(useithreads)) {
> @@ -88,7 +90,9 @@
>push @defines, "-DPERL_\U$item";
>}
>
> -push @defines, map { "-D$_" } split " ",
> shift->{config}->{vars}->{
Doug MacEachern wrote:
it is a nice feature when it works, so i've re-enabled for linux only.
for the other platforms in the current state, its better to wait 60
seconds if the server fails to start than to throw and error and die when
it has successfully started.
that's a nice alternative :)
Hop
it is a nice feature when it works, so i've re-enabled for linux only.
for the other platforms in the current state, its better to wait 60
seconds if the server fails to start than to throw and error and die when
it has successfully started.
[EMAIL PROTECTED] wrote:
dougm 02/04/06 18:14:40
Modified:perl-framework/Apache-Test/lib/Apache TestServer.pm
Log:
this $SIG{CHLD} / $? status checking stuff does not work well on
solaris or hpux. more often than not get:
waiting for server to start: 00:02
server has die
On Mon, 7 Jan 2002, Stas Bekman wrote:
> better move it to the top, in case it needs to be used earlier.
not sure what you mean by earlier? i don't see any problems with the way
it is, $parent_pid will be set before any of the subroutines are called.
Doug MacEachern wrote:
On Mon, 7 Jan 2002, Stas Bekman wrote:
I needed it TestRun, whereas the fork was happening in TestServer. So it
was definitely easier to do it locally.
are you saying the following patch would not work?
+1
better move it to the top, in case it needs to be used earlier.
_
On Mon, 7 Jan 2002, Stas Bekman wrote:
> I needed it TestRun, whereas the fork was happening in TestServer. So it
> was definitely easier to do it locally.
are you saying the following patch would not work?
Index: Apache-Test/lib/Apache/TestRun.pm
==
Doug MacEachern wrote:
On Sun, 6 Jan 2002, Stas Bekman wrote:
I've done with this:
-eval 'END {
+eval 'my $parent_pid = $$;
+ END {
+ return unless $$ == $parent_pid; # because of fork
ok. i thought is_parent() could be useful elsewhere, but i guess we could
worry a
On Sun, 6 Jan 2002, Stas Bekman wrote:
> I've done with this:
>
>
> -eval 'END {
> +eval 'my $parent_pid = $$;
> + END {
> + return unless $$ == $parent_pid; # because of fork
ok. i thought is_parent() could be useful elsewhere, but i guess we could
worry about th
Doug MacEachern wrote:
On Fri, 4 Jan 2002, Stas Bekman wrote:
Any idea how to disable the END blocks inheritance in the forked child?
my $Pid = $$;
sub is_parent {
$$ == $Pid;
}
my $pid = fork;
exit unless $pid;
END {
print "END pid=$$\n";
return unless is_parent();
print "stuf
On Fri, 4 Jan 2002, Stas Bekman wrote:
> Any idea how to disable the END blocks inheritance in the forked child?
my $Pid = $$;
sub is_parent {
$$ == $Pid;
}
my $pid = fork;
exit unless $pid;
END {
print "END pid=$$\n";
return unless is_parent();
print "stuff\n";
}
prints:
E
[EMAIL PROTECTED] wrote:
stas02/01/03 20:48:58
Modified:perl-framework/Apache-Test/lib/Apache TestServer.pm
Log:
- use explicit fork for spawning httpd, now works with 1.3 and 2.0
Revision ChangesPath
1.48 +10 -1 httpd-test/perl-framework/Apache-Test/lib/Apach
On Sun, 21 Oct 2001, Stas Bekman wrote:
> [EMAIL PROTECTED] wrote:
>
> > dougm 01/10/20 11:01:32
> >
> > Modified:perl-framework/Apache-Test/lib/Apache TestServer.pm
> > Log:
> > make sure only 1 process is started for win32; else Kill will only
> > shutdown the parent
>
>
> d
[EMAIL PROTECTED] wrote:
dougm 01/10/20 11:01:32
Modified:perl-framework/Apache-Test/lib/Apache TestServer.pm
Log:
make sure only 1 process is started for win32; else Kill will only shutdown
the parent
doesn't it contradict with being able to override maxclients? So if a
certain
19 matches
Mail list logo