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
}