mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
Remove some ap_add_version_component() calls that don't provide any information
because the modules don't have separate version numbers anymore git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1199532 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -117,8 +117,6 @@ static int dav_init_handler(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp,
|
|||||||
dav_methods[DAV_M_BIND] = ap_method_register(p, "BIND");
|
dav_methods[DAV_M_BIND] = ap_method_register(p, "BIND");
|
||||||
dav_methods[DAV_M_SEARCH] = ap_method_register(p, "SEARCH");
|
dav_methods[DAV_M_SEARCH] = ap_method_register(p, "SEARCH");
|
||||||
|
|
||||||
ap_add_version_component(p, "DAV/2");
|
|
||||||
|
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -29,9 +29,6 @@
|
|||||||
#define VERBOSEB(x) if (verbose) {x}
|
#define VERBOSEB(x) if (verbose) {x}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* 3.1.2 - trivial changes to fix compile on Windows */
|
|
||||||
#define VERSION_STRING "proxy_html/3.1.2"
|
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
/* libxml2 */
|
/* libxml2 */
|
||||||
@@ -1225,7 +1222,6 @@ static const command_rec proxy_html_cmds[] = {
|
|||||||
static int mod_proxy_html(apr_pool_t* p, apr_pool_t* p1, apr_pool_t* p2,
|
static int mod_proxy_html(apr_pool_t* p, apr_pool_t* p1, apr_pool_t* p2,
|
||||||
server_rec* s)
|
server_rec* s)
|
||||||
{
|
{
|
||||||
ap_add_version_component(p, VERSION_STRING);
|
|
||||||
seek_meta = ap_pregcomp(p, "<meta[^>]*(http-equiv)[^>]*>",
|
seek_meta = ap_pregcomp(p, "<meta[^>]*(http-equiv)[^>]*>",
|
||||||
AP_REG_EXTENDED|AP_REG_ICASE);
|
AP_REG_EXTENDED|AP_REG_ICASE);
|
||||||
seek_content = apr_strmatch_precompile(p, "content", 0);
|
seek_content = apr_strmatch_precompile(p, "content", 0);
|
||||||
|
@@ -44,7 +44,6 @@ static void ssl_add_version_components(apr_pool_t *p,
|
|||||||
char *incver = ssl_var_lookup(p, s, NULL, NULL,
|
char *incver = ssl_var_lookup(p, s, NULL, NULL,
|
||||||
"SSL_VERSION_LIBRARY_INTERFACE");
|
"SSL_VERSION_LIBRARY_INTERFACE");
|
||||||
|
|
||||||
ap_add_version_component(p, modver);
|
|
||||||
ap_add_version_component(p, libver);
|
ap_add_version_component(p, libver);
|
||||||
|
|
||||||
ap_log_error(APLOG_MARK, APLOG_INFO, 0, s,
|
ap_log_error(APLOG_MARK, APLOG_INFO, 0, s,
|
||||||
|
Reference in New Issue
Block a user