* only an issue for loopback usage
*/
-#define VERSION "1.3c"
+#define AB_VERSION "1.3c"
/* -------------------------------------------------------------------- */
"%s" "\r\n",
(posting == 0) ? "GET" : "HEAD",
path,
- VERSION,
+ AB_VERSION,
keepalive ? "Connection: Keep-Alive\r\n" : "",
cookie, auth, hostname, hdrs);
}
"%s"
"\r\n",
path,
- VERSION,
+ AB_VERSION,
keepalive ? "Connection: Keep-Alive\r\n" : "",
cookie, auth,
hostname, postlen,
static void copyright(void)
{
if (!use_html) {
- printf("This is ApacheBench, Version %s\n", VERSION " <$Revision: 1.16 $> apache-2.0");
+ printf("This is ApacheBench, Version %s\n", AB_VERSION " <$Revision: 1.17 $> apache-2.0");
printf("Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\n");
printf("Copyright (c) 1998-2000 The Apache Software Foundation, http://www.apache.org/\n");
printf("\n");
}
else {
printf("<p>\n");
- printf(" This is ApacheBench, Version %s <i><%s></i> apache-2.0<br>\n", VERSION, "$Revision: 1.16 $");
+ printf(" This is ApacheBench, Version %s <i><%s></i> apache-2.0<br>\n", AB_VERSION, "$Revision: 1.17 $");
printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br>\n");
printf(" Copyright (c) 1998-2000 The Apache Software Foundation, http://www.apache.org/<br>\n");
printf("</p>\n<p>\n");