httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@covalent.net>
Subject Re: mod_random_chunk
Date Thu, 01 Nov 2001 20:57:41 GMT
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
        }


Mime
View raw message