From: Doug MacEachern Date: Wed, 20 Jun 2001 01:46:28 +0000 (+0000) Subject: apxs no longer generates ap_send_http_header() in the example handler X-Git-Tag: 2.0.19~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e63a05bbd17d24eedf9d51464cbd70c945d75224;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/CHANGES b/CHANGES index 1843c88a4b1..4dd1824208d 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 8466386f357..3fb508ea2ed 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;