Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm

2002-01-06 Thread Stas Bekman
Rodent of Unusual Size wrote: Stas Bekman wrote: How the other starting server is supposed to know whether port X is busy because the first server is still running or it didn't quit cleanly? {sigh} It doesn't. But the user tries to run the tests, gets a 'port in use' error, and runs again with

Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestServer.pm

2002-01-06 Thread Stas Bekman
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

Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm

2002-01-06 Thread Rodent of Unusual Size
Stas Bekman wrote: OK, I got you. So we should make sure that the test suite will never leave the server running when the testing is done. Bingo. Currently if for some reason this happens, harness will tell you that it has failed to stop the server. I am not sure that is actually the

Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestServer.pm

2002-01-06 Thread Doug MacEachern
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 that

Digest::MD5 in TestSmoke?

2002-01-06 Thread Doug MacEachern
perl-framework does not work with 5.6.1 due to Digest::MD5 requirement. i don't see any reason why this: my $digest = Digest::MD5::md5_hex(join '', @$ra_tests); cannot just be this: my $digest = join '', @$ra_tests; ??

Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestServer.pm

2002-01-06 Thread Doug MacEachern
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

Re: Digest::MD5 in TestSmoke?

2002-01-06 Thread Doug MacEachern
On Mon, 7 Jan 2002, Stas Bekman wrote: Sorry, can we put it into the Bundle? that's fine, but we cannot 'use Digest::MD5' the way it was before. else 'perl Makefile.PL' doesn't work without it. Because there can be hundreds of tests in @$ra_tests; Remember that the first run by default

Re: Digest::MD5 in TestSmoke?

2002-01-06 Thread Stas Bekman
Doug MacEachern wrote: On Mon, 7 Jan 2002, Stas Bekman wrote: Sorry, can we put it into the Bundle? that's fine, but we cannot 'use Digest::MD5' the way it was before. else 'perl Makefile.PL' doesn't work without it. I understand. So is that +1 to add Digest::MD5 to the Apache::Test Bundle?

Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestServer.pm

2002-01-06 Thread Stas Bekman
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.

Re: Outch - what a tangled web.

2002-01-06 Thread Randy Kobes
- Original Message - From: Doug MacEachern [EMAIL PROTECTED] To: William A. Rowe, Jr. [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; dev@apr.apache.org Sent: Saturday, January 05, 2002 6:38 PM Subject: Re: Outch - what a tangled web. i wouldn't object to special casing to make win32 happy.

Re: Outch - what a tangled web.

2002-01-06 Thread William A. Rowe, Jr.
From: Randy Kobes [EMAIL PROTECTED] Sent: Sunday, January 06, 2002 5:13 PM From: Doug MacEachern [EMAIL PROTECTED] Sent: Saturday, January 05, 2002 6:38 PM i wouldn't object to special casing to make win32 happy. though i find it odd that things are working ok as-is on my win32 box and

Re: mod_deflate as a DSO on Solaris (perhaps generic?)

2002-01-06 Thread Jeff Trawick
Albert Chin [EMAIL PROTECTED] writes: On Sat, Jan 05, 2002 at 05:03:04PM -0800, Justin Erenkrantz wrote: On Sat, Jan 05, 2002 at 06:53:43PM -0600, Albert Chin wrote: You'll note that there is *no* -lz anywhere. So, I don't see how mod_deflate would ever get loaded. Looking at

Re: mod_deflate as a DSO on Solaris (perhaps generic?)

2002-01-06 Thread Jeff Trawick
Justin Erenkrantz [EMAIL PROTECTED] writes: On Sat, Jan 05, 2002 at 06:53:43PM -0600, Albert Chin wrote: You'll note that there is *no* -lz anywhere. So, I don't see how mod_deflate would ever get loaded. Looking at config.status, -lz is in EXTRA_LIBS. So: Correct. We specify the

Libtool library dependencies was Re: mod_deflate as a DSO on Solaris (perhaps generic?)

2002-01-06 Thread Justin Erenkrantz
On Sun, Jan 06, 2002 at 09:35:26AM -0500, Jeff Trawick wrote: Justin, what I keep trying to say w.r.t. the other thread is that it seems that adding extra .la dependencies is what causes the problem on AIX, not adding plain libraries. On AIX we already are adding EXTRA_LIBS to SH_LDFLAGS on

ap_get_local_host

2002-01-06 Thread David Reid
Is there a reason this isn't using apr functions? david

Re: cvs commit: httpd-2.0/modules/loggers mod_log_config.c

2002-01-06 Thread Ben Laurie
[EMAIL PROTECTED] wrote: brianp 02/01/06 00:01:34 Modified:modules/loggers mod_log_config.c Log: Bypass a strdup and an 8KB local variable in the common case where the logger is using the default time format Does that really stop the stack space from being allocated? It

Re: cvs commit: httpd-2.0/modules/loggers mod_log_config.c

2002-01-06 Thread Brian Pane
Ben Laurie wrote: [EMAIL PROTECTED] wrote: brianp 02/01/06 00:01:34 Modified:modules/loggers mod_log_config.c Log: Bypass a strdup and an 8KB local variable in the common case where the logger is using the default time format Does that really stop the stack space from being

RE: cvs commit: httpd-2.0/modules/loggers mod_log_config.c

2002-01-06 Thread Sander Striker
-Original Message- From: Brian Pane [mailto:[EMAIL PROTECTED]] Sent: 06 January 2002 21:49 To: [EMAIL PROTECTED] Subject: Re: cvs commit: httpd-2.0/modules/loggers mod_log_config.c Ben Laurie wrote: [EMAIL PROTECTED] wrote: brianp 02/01/06 00:01:34 Modified:

Re: Emacs stanza?

2002-01-06 Thread Justin Erenkrantz
On Wed, Jan 02, 2002 at 04:50:06PM -0500, Rodent of Unusual Size wrote: I don't know how many people use Emacs to edit the Apache stuff, but would anyone object to a stanza at the bottom of the source files to help put Emacs in the right stylistic mood? To wit, something like: I don't know

[PATCH] Split out libtool dependencies

2002-01-06 Thread Justin Erenkrantz
Jeff (and anyone else interested), Can you please test out this patch on AIX and report on what you get back? Per your earlier email, this tries to separate out any libexpat.la's so that it is not specified when linking libaprutil.la. This *may* work around the bug you are seeing in libtool.

Re: [PATCH] Split out libtool dependencies

2002-01-06 Thread Jeff Trawick
Justin Erenkrantz [EMAIL PROTECTED] writes: Jeff (and anyone else interested), Can you please test out this patch on AIX and report on what you get back? no problems caused by/exposed by your patch as far as I can tell!!! I did hit a problem loading mod_disk_cache, but that is because it

where are ap_hook_store_cache and ap_hook_serve_cache?

2002-01-06 Thread Jeff Trawick
... as used by mod_disk_cache -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...

Re: Running Apache in the foreground

2002-01-06 Thread Ryan Bloom
On Friday 04 January 2002 03:59 pm, Jos Backus wrote: On Thu, Jan 03, 2002 at 08:28:14AM -0800, Aaron Bannert wrote: I see no reason why this can't be implemented in apache2, and I'll even test and commit a patch that properly implements it. :) Sorry I can't offer much more than that.

Re: [PATCH] Allow DocumentRoot within Location blocks

2002-01-06 Thread Ryan Bloom
On Saturday 05 January 2002 06:27 am, Sander Striker wrote: Hi, I've tried to tackle this issue in STATUS: * Allow the DocumentRoot directive within Location scopes? This allows the beloved (crusty) Alias /foo/ /somepath/foo/ followed by a Directory /somepath/foo to

Re: [PATCH] Allow DocumentRoot within Location blocks

2002-01-06 Thread William A. Rowe, Jr.
From: Ryan Bloom [EMAIL PROTECTED] Sent: Sunday, January 06, 2002 11:34 PM I would like to discuss the reasoning behind this change. Why are we trying to overload the meaning of DocumentRoot this way? Because it allows the DocumentRoot to be, well, nonexistant. It allows us to have the

Re: [PATCH] Split out libtool dependencies

2002-01-06 Thread Justin Erenkrantz
On Sun, Jan 06, 2002 at 10:03:13PM -0500, Jeff Trawick wrote: Justin Erenkrantz [EMAIL PROTECTED] writes: Jeff (and anyone else interested), Can you please test out this patch on AIX and report on what you get back? no problems caused by/exposed by your patch as far as I can

beos: RequestsPerThread vs. MaxRequestsPerThread

2002-01-06 Thread Lars Eilebrecht
Hi, the RequestsPerThread logs the warning MaxRequestsPerThread was set below 0 if it is set to a negativ value (note the Max). The name MaxRequestsPerThread makes IMHO more sense for this directive, because it specifies the max value, like the MaxRequestsPerChild directive. If there are no

Re: [PATCH] Allow DocumentRoot within Location blocks

2002-01-06 Thread Sander van Zoest
On Mon, 7 Jan 2002, William A. Rowe, Jr. wrote: From: Ryan Bloom [EMAIL PROTECTED] I would like to discuss the reasoning behind this change. Why are we trying to overload the meaning of DocumentRoot this way? Because it allows the DocumentRoot to be, well, nonexistant. This is very