From: Christophe Jaillet Date: Tue, 15 Nov 2016 06:42:48 +0000 (+0000) Subject: Fix some HTML tags X-Git-Tag: 2.5.0-alpha~1007 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f8b4fe0fa0a7ff41ad456191d8c887220baa325f;p=thirdparty%2Fapache%2Fhttpd.git Fix some HTML tags
-->
Couls also be
or
but some (very) old clients don't like it. httpd is not really consistent on it. (personnlaly
would be just fine for me but
is the most commonly used form) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1769737 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cache/mod_socache_redis.c b/modules/cache/mod_socache_redis.c index f7482445c07..f68d3c7c90d 100644 --- a/modules/cache/mod_socache_redis.c +++ b/modules/cache/mod_socache_redis.c @@ -306,7 +306,7 @@ static void socache_rd_status(ap_socache_instance_t *ctx, request_rec *r, int fl apr_redis_stats_t *stats; char *role; apr_status_t rv; - char *br = (!(flags & AP_STATUS_SHORT) ? "
" : ""); + char *br = (!(flags & AP_STATUS_SHORT) ? "
" : ""); rs = rc->live_servers[i]; @@ -317,21 +317,21 @@ static void socache_rd_status(ap_socache_instance_t *ctx, request_rec *r, int fl if (rv != APR_SUCCESS) continue; if (!(flags & AP_STATUS_SHORT)) { - ap_rprintf(r, "General:: Version: %u.%u.%u [%u bits], PID: %u, Uptime: %u hrs
\n", + ap_rprintf(r, "General:: Version: %u.%u.%u [%u bits], PID: %u, Uptime: %u hrs
\n", stats->major, stats->minor, stats->patch, stats->arch_bits, stats->process_id, stats->uptime_in_seconds/3600); - ap_rprintf(r, "Clients:: Connected: %d, Blocked: %d
\n", + ap_rprintf(r, "Clients:: Connected: %d, Blocked: %d
\n", stats->connected_clients, stats->blocked_clients); - ap_rprintf(r, "Memory:: Total: %lu, Max: %lu, Used: %lu
\n", + ap_rprintf(r, "Memory:: Total: %lu, Max: %lu, Used: %lu
\n", stats->total_system_memory, stats->maxmemory, stats->used_memory); - ap_rprintf(r, "CPU:: System: %u, User: %u
\n", + ap_rprintf(r, "CPU:: System: %u, User: %u
\n", stats->used_cpu_sys, stats->used_cpu_user ); - ap_rprintf(r, "Connections:: Recd: %lu, Processed: %lu, Rejected: %lu
\n", + ap_rprintf(r, "Connections:: Recd: %lu, Processed: %lu, Rejected: %lu
\n", stats->total_connections_received, stats->total_commands_processed, stats->rejected_connections); - ap_rprintf(r, "Cache:: Hits: %lu, Misses: %lu
\n", + ap_rprintf(r, "Cache:: Hits: %lu, Misses: %lu
\n", stats->keyspace_hits, stats->keyspace_misses); - ap_rprintf(r, "Net:: Input bytes: %lu, Output bytes: %lu
\n", + ap_rprintf(r, "Net:: Input bytes: %lu, Output bytes: %lu
\n", stats->total_net_input_bytes, stats->total_net_output_bytes); if (stats->role == APR_RS_SERVER_MASTER) role = "master"; @@ -342,7 +342,7 @@ static void socache_rd_status(ap_socache_instance_t *ctx, request_rec *r, int fl ap_rprintf(r, "Misc:: Role: %s, Connected Slaves: %u, Is Cluster?: %s \n", role, stats->connected_clients, (stats->cluster_enabled ? "yes" : "no")); - ap_rputs("

\n", r); + ap_rputs("

\n", r); } else { ap_rprintf(r, "Version: %u.%u.%u [%u bits], PID: %u, Uptime: %u hrs %s\n",