From ad908355f564b8f3f86654bbafd77ed4ab69e1ed Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Tue, 3 Sep 2013 04:49:20 +0000 Subject: [PATCH] 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 ] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1519556 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 4 ++++ include/scoreboard.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 1aba6899d45..0b1418cb6f4 100644 --- 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 ] + *) mod_lua: If the first yield() of a LuaOutputFilter returns a string, it should be prefixed to the response as documented. [Eric Covener] diff --git a/include/scoreboard.h b/include/scoreboard.h index 393cbe9f299..d2be9c87a7d 100644 --- a/include/scoreboard.h +++ b/include/scoreboard.h @@ -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? */ }; -- 2.47.3