Re: [PATCH] test cgi script

2001-11-01 Thread Doug MacEachern
On Sat, 27 Oct 2001, Cliff Woolley wrote:

> 
> Anyone see a problem with this?

looks ok to me.  i checked with sax (who wrote the test), says he doesn't
how the 'x' got in there and if he did it, twas a mistake.





Re: mod_random_chunk

2001-11-01 Thread Ryan Bloom
On Thursday 01 November 2001 12:57 pm, Doug MacEachern wrote:
> On Mon, 22 Oct 2001, Gary Benson wrote:
> > Hi,
> >
> > If you remove the "#define HTTPD_TEST_REQUIRE_APACHE 2" from
> > mod_random_chunk.c then it compiles and runs successfully but does not
> > pass the tests. It seems that it is not sending any headers: should it
> > be?
>
> it would need to call ap_send_http_header(r); #ifdef APACHE1

You could actually call that function in 1.3 or 2.0, the 2.0 version is a no-op
though.

Ryan

__
Ryan Bloom  [EMAIL PROTECTED]
Covalent Technologies   [EMAIL PROTECTED]
--


Re: mod_random_chunk

2001-11-01 Thread Doug MacEachern
On Mon, 22 Oct 2001, Gary Benson wrote:

> 
> Hi,
> 
> If you remove the "#define HTTPD_TEST_REQUIRE_APACHE 2" from
> mod_random_chunk.c then it compiles and runs successfully but does not
> pass the tests. It seems that it is not sending any headers: should it
> be?

it would need to call ap_send_http_header(r); #ifdef APACHE1

and also notice this, not sure if it matters at all...
else if (len == 0) {
/* 1.x version used to do this; but chunk_filter does now */
#if 0
ap_bsetflag(r->connection->client, B_CHUNK, 0);
ap_bsetflag(r->connection->client, B_CHUNK, 1);
#endif
}



Re: Perl tests and server start

2001-11-01 Thread Doug MacEachern
On Mon, 22 Oct 2001, Rodent of Unusual Size wrote:

> I noticed yesterday that three servers are started
> even if the tests requested don't need 'em.  That is,
> a server is started for mod_headers and mod_vhost_alias
> even if I ask for only a single test sequence that
> doesn't include those.

those are just vhosts.  what is the problem?





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

2001-11-01 Thread Doug MacEachern
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
> 
> 
> doesn't it contradict with being able to override maxclients? So if a 
> certain test relies on the fact that it needs 2 servers at the same 
> time, this will hang.

no.  win32 and all mpms aside from prefork can handle concurrent 
requests > 1 with -DONE_PROCESS