httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Finch <...@dotat.at>
Subject Re: server signature and version strings
Date Fri, 26 Feb 1999 16:52:59 GMT
Martin Kraemer <martin@deejai.mch.sni.de> wrote:
>
>> -    return ap_pstrcat(r->pool, prefix, "<ADDRESS>" SERVER_BASEVERSION
>> +    return ap_pstrcat(r->pool, prefix, "<ADDRESS>", ap_get_server_version(),
>
>+1 -- you´re absolutely right.

You probably also want the following patch then, brought to you by the
magic of `find . | xargs grep SERVER_BASEVERSION`.

Tony.
-- 
f.a.n.finch  dot@dotat.at  fanf@demon.net


--- src/modules/proxy/proxy_http.c	Tue Jan 12 16:03:43 1999
+++ src/modules/proxy/proxy_http.version.c	Fri Feb 26 12:28:06 1999
@@ -327,7 +327,7 @@
 				HTTP_VERSION_MAJOR(r->proto_num),
 				HTTP_VERSION_MINOR(r->proto_num),
 				ap_get_server_name(r), portstr,
-				SERVER_BASEVERSION)
+				ap_get_server_version())
 			: ap_psprintf(p, "%d.%d %s%s",
 				HTTP_VERSION_MAJOR(r->proto_num),
 				HTTP_VERSION_MINOR(r->proto_num),
@@ -420,7 +420,7 @@
 			    ? ap_psprintf(p, "%d.%d %s%s (%s)",
 				major, minor,
 				ap_get_server_name(r), portstr,
-				SERVER_BASEVERSION)
+				ap_get_server_version())
 			    : ap_psprintf(p, "%d.%d %s%s",
 				major, minor,
 				ap_get_server_name(r), portstr)

Mime
View raw message