summaryrefslogtreecommitdiffstats
path: root/support/ab.c
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2001-08-16 10:20:36 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2001-08-16 10:20:36 +0200
commit03fe07566bcdde31719015339dfc99ccba16bd36 (patch)
treecb8923c826a205963e8d0840fbab5af70d05807d /support/ab.c
parent More Versioning (diff)
downloadapache2-03fe07566bcdde31719015339dfc99ccba16bd36.tar.xz
apache2-03fe07566bcdde31719015339dfc99ccba16bd36.zip
Now that it's apr'ized, ab is most definately in a 2.0 revision cycle,
and definately needs to track the Apache revision (especially because of apr and apr-util!) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90209 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/ab.c')
-rw-r--r--support/ab.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/support/ab.c b/support/ab.c
index ec9d91e276..44d5386d81 100644
--- a/support/ab.c
+++ b/support/ab.c
@@ -115,8 +115,6 @@
* only an issue for loopback usage
*/
-#define AB_VERSION "1.3e"
-
/* -------------------------------------------------------------------- */
#if 'A' != 0x41
@@ -139,6 +137,7 @@
#include "apr_general.h"
#include <signal.h>
#include "apr_lib.h"
+#include "ap_release.h"
#define APR_WANT_STRFUNC
#include "apr_want.h"
@@ -1155,7 +1154,7 @@ static void test(void)
"%s" "\r\n",
(posting == 0) ? "GET" : "HEAD",
(isproxy) ? fullurl : path,
- AB_VERSION,
+ AP_SERVER_BASEREVISION,
keepalive ? "Connection: Keep-Alive\r\n" : "",
cookie, auth, host_field, hdrs);
}
@@ -1170,7 +1169,7 @@ static void test(void)
"%s"
"\r\n",
(isproxy) ? fullurl : path,
- AB_VERSION,
+ AP_SERVER_BASEREVISION,
keepalive ? "Connection: Keep-Alive\r\n" : "",
cookie, auth,
host_field, postlen,
@@ -1302,14 +1301,14 @@ static void test(void)
static void copyright(void)
{
if (!use_html) {
- printf("This is ApacheBench, Version %s\n", AB_VERSION " <$Revision: 1.80 $> apache-2.0");
+ printf("This is ApacheBench, Version %s\n", AP_SERVER_BASEREVISION " <$Revision: 1.81 $> apache-2.0");
printf("Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\n");
printf("Copyright (c) 1998-2001 The Apache Software Foundation, http://www.apache.org/\n");
printf("\n");
}
else {
printf("<p>\n");
- printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-2.0<br>\n", AB_VERSION, "$Revision: 1.80 $");
+ printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-2.0<br>\n", AP_SERVER_BASEREVISION, "$Revision: 1.81 $");
printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br>\n");
printf(" Copyright (c) 1998-2001 The Apache Software Foundation, http://www.apache.org/<br>\n");
printf("</p>\n<p>\n");