From e63a05bbd17d24eedf9d51464cbd70c945d75224 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Wed, 20 Jun 2001 01:46:28 +0000 Subject: [PATCH] apxs no longer generates ap_send_http_header() in the example handler git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89392 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 2 ++ support/apxs.in | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 1843c88a4b..4dd1824208 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,7 @@ Changes with Apache 2.0.19-dev + *) apxs no longer generates ap_send_http_header() in the example handler + *) Fix an ab problem which could cause a divide-by-zero exception with certain invocations (e.g., ab -k -c 6 -n 100 localhost/). [Ian Holsman ] diff --git a/support/apxs.in b/support/apxs.in index 8466386f35..3fb508ea2e 100644 --- a/support/apxs.in +++ b/support/apxs.in @@ -636,7 +636,7 @@ static int %NAME%_handler(request_rec *r) return DECLINED; } r->content_type = "text/html"; - ap_send_http_header(r); + if (!r->header_only) ap_rputs("The sample page from mod_%NAME%.c\n", r); return OK; -- 2.50.1