From: Christophe Jaillet Date: Sun, 18 Aug 2019 18:52:40 +0000 (+0000) Subject: Increase the maximum length of strings that can be cached by the module from 100... X-Git-Tag: 2.5.0-alpha2-ci-test-only~1922 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00a16c48e0bba9a1590136e886f6ab2960aa220b;p=thirdparty%2Fapache%2Fhttpd.git Increase the maximum length of strings that can be cached by the module from 100 to 256. PR 62149 [] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1865405 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index e6b48b22d0e..52ced0b2dfe 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,9 @@ -*- coding: utf-8 -*- Changes with Apache 2.5.1 + *) mod_authn_socache: Increase the maximum length of strings that can be cached by + the module from 100 to 256. PR 62149 [] + *) mod_ssl: reverting a 2.4.40 change where a superfluous SSLCertificateChainFile configuration for a domain managed by mod_md caused a startup error. This happened when mod_md installed its fallback certificate, before it got the first real certificate from Lets Encrypt. diff --git a/modules/aaa/mod_authn_socache.c b/modules/aaa/mod_authn_socache.c index b0f76e0cc3a..8514490d2d6 100644 --- a/modules/aaa/mod_authn_socache.c +++ b/modules/aaa/mod_authn_socache.c @@ -349,7 +349,7 @@ static void ap_authn_cache_store(request_rec *r, const char *module, } } -#define MAX_VAL_LEN 100 +#define MAX_VAL_LEN 256 static authn_status check_password(request_rec *r, const char *user, const char *password) {