]> granicus.if.org Git - apache/commitdiff
mod_status, mod_echo: Fix the display of client addresses. They were truncated to...
authorChristophe Jaillet <jailletc36@apache.org>
Tue, 3 Sep 2013 04:49:20 +0000 (04:49 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Tue, 3 Sep 2013 04:49:20 +0000 (04:49 +0000)
PR 54848 [Bernhard Schmidt <berni birkenwald de>]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1519556 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
include/scoreboard.h

diff --git a/CHANGES b/CHANGES
index 1aba6899d45b34d47968802c0490c0ec00013578..0b1418cb6f42c165a92d02610882a115b1c00aa6 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,10 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.5.0
 
+  *) mod_status, mod_echo: Fix the display of client addresses.
+     They were truncated to 31 characters which is not enough for IPv6 addresses.
+     PR 54848 [Bernhard Schmidt <berni birkenwald de>]
+
   *) mod_lua: If the first yield() of a LuaOutputFilter returns a string, it should
      be prefixed to the response as documented. [Eric Covener]
 
index 393cbe9f2999c560c7afc8cd29f4e38bde6ba896..d2be9c87a7d60c4c82fc2c60110f3ac5d1bf203c 100644 (file)
@@ -112,7 +112,7 @@ struct worker_score {
 #ifdef HAVE_TIMES
     struct tms times;
 #endif
-    char client[32];            /* Keep 'em small... */
+    char client[40];            /* Keep 'em small... but large enough to hold an IPv6 address */
     char request[64];           /* We just want an idea... */
     char vhost[32];             /* What virtual host is being accessed? */
 };