]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Backport of mod_so cookie mis-match error message
authorSander Temme <sctemme@apache.org>
Sat, 14 Jul 2007 06:54:04 +0000 (06:54 +0000)
committerSander Temme <sctemme@apache.org>
Sat, 14 Jul 2007 06:54:04 +0000 (06:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@556234 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
STATUS
modules/mappers/mod_so.c

diff --git a/CHANGES b/CHANGES
index 54a1eb607e6cb5bfea6e19ea449c2f8a36ec7708..faaf72d4ff069dd2905c80dcc98d9db4ad5cb73c 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,11 @@ Changes with Apache 2.0.60
      server-status page and ExtendedStatus enabled, for browsers which
      perform charset "detection".  Reported by Stefan Esser.  [Joe Orton]
 
+  *) mod_so: Solve dev's confusion by reporting expected/seen module
+     magic signatures when failing with a 'garbled' message, and solve
+     user's confusion by pointing out 'perhaps compiled for a different
+     version of apache?'.  [William Rowe]
+
   *) mod_ssl: initialize thread locks before initializing the hardware
      acceleration library, so the latter can make use of the former. 
      PR 20951. [<adunn ncipher.com>]
diff --git a/STATUS b/STATUS
index a8cc69eb2f8e5011ca7135737caa34132aaff85a..9f4a6d49b6e9984222c85a243d9100dc7af66c09 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -133,15 +133,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
         http://people.apache.org/~jorton/httpd-2.0.x-CVE-2007-3304.patch
       +1: jorton, jim, rpluem
 
-    * Backport 520733; more helpful LoadModule feedback, so it reads;
-          Syntax error in -C/-c directive:
-          API module structure 'ftp_module' in file /.../modules/mod_ftp.so 
-          is garbled - expected signature 41503230 but saw 41503232 -
-          perhaps this is not an Apache module DSO, or was compiled 
-          for a different Apache version?
-       http://svn.apache.org/viewvc?view=rev&rev=520733
-       +1: wrowe, sctemme, rpluem
-
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   [ please place SVN revisions from trunk here, so it is easy to
     identify exactly what the proposed changes are!  Add all new
index 22940768871a350c3f6afedafbc686a4bf1a0534..984cb54946dc9c275e170ae5ed78616e9fe479d3 100644 (file)
@@ -270,9 +270,12 @@ static const char *load_module(cmd_parms *cmd, void *dummy,
      * 
      */
     if (modp->magic != MODULE_MAGIC_COOKIE) {
-        return apr_pstrcat(cmd->pool, "API module structure `", modname,
-                          "' in file ", szModuleFile, " is garbled -"
-                          " perhaps this is not an Apache module DSO?", NULL);
+        return apr_psprintf(cmd->pool, "API module structure '%s' in file %s "
+                            "is garbled - expected signature %08lx but saw "
+                            "%08lx - perhaps this is not an Apache module DSO, "
+                            "or was compiled for a different Apache version?",
+                            modname, szModuleFile, 
+                            MODULE_MAGIC_COOKIE, modp->magic);
     }
 
     /*