You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2019/08/18 18:52:40 UTC

svn commit: r1865405 - in /httpd/httpd/trunk: CHANGES modules/aaa/mod_authn_socache.c

Author: jailletc36
Date: Sun Aug 18 18:52:40 2019
New Revision: 1865405

URL: http://svn.apache.org/viewvc?rev=1865405&view=rev
Log:
Increase the maximum length of strings that can be cached by the module from 100 to 256.  PR 62149 [<thorsten.meinl knime.com>]

Modified:
    httpd/httpd/trunk/CHANGES
    httpd/httpd/trunk/modules/aaa/mod_authn_socache.c

Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=1865405&r1=1865404&r2=1865405&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Sun Aug 18 18:52:40 2019
@@ -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 [<thorsten.meinl knime.com>]
+
   *) 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.

Modified: httpd/httpd/trunk/modules/aaa/mod_authn_socache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/aaa/mod_authn_socache.c?rev=1865405&r1=1865404&r2=1865405&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/aaa/mod_authn_socache.c (original)
+++ httpd/httpd/trunk/modules/aaa/mod_authn_socache.c Sun Aug 18 18:52:40 2019
@@ -349,7 +349,7 @@ static void ap_authn_cache_store(request
     }
 }
 
-#define MAX_VAL_LEN 100
+#define MAX_VAL_LEN 256
 static authn_status check_password(request_rec *r, const char *user,
                                    const char *password)
 {