]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r578620 from trunk:
authorRuediger Pluem <rpluem@apache.org>
Sun, 7 Oct 2007 12:31:44 +0000 (12:31 +0000)
committerRuediger Pluem <rpluem@apache.org>
Sun, 7 Oct 2007 12:31:44 +0000 (12:31 +0000)
PR 40037: try to avoid risk of misleading the lusers when they
can't initialise scoreboard after a crash.

Submitted by: niq
Reviewed by: niq, rpluem, trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@582621 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
STATUS
server/scoreboard.c

diff --git a/CHANGES b/CHANGES
index 35069b1ec4b36dcc3701c2004c0bc00902ad57af..07fa8e19db4fd208fca4fc19976263988d053a4c 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                         -*- coding: utf-8 -*-
 Changes with Apache 2.2.7
 
+  *) scoreboard: improve error message on apr_shm_create failure
+     PR 40037 [Nick Kew]
+
   *) proxy: Fix persistent backend connections.
      PR 43472 [Ruediger Pluem]
 
diff --git a/STATUS b/STATUS
index 053c1beef5475ef09ad8dc584451dbc30fa61ff4..7f17d9d53365afd93fd46823310e3fb31dca2dd3 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -79,11 +79,6 @@ RELEASE SHOWSTOPPERS:
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
 
-   * scoreboard: improve error message on apr_shm_create failure
-     PR 40037
-     http://svn.apache.org/viewvc?view=rev&revision=578620
-     +1: niq, rpluem, trawick
-
    * mod_proxy: Don't by default violate RFC2616 by setting
      Max-Forwards when the client didn't send it to us.
      PR 16137
index 9cb7359a54175271847c4739839eb5e0ec8e3df8..9d1ba4bd5d1a7ba5949efa336138e6de416325a5 100644 (file)
@@ -157,7 +157,7 @@ static apr_status_t create_namebased_scoreboard(apr_pool_t *pool,
     rv = apr_shm_create(&ap_scoreboard_shm, scoreboard_size, fname, pool);
     if (rv != APR_SUCCESS) {
         ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL,
-                     "unable to create scoreboard \"%s\" "
+                     "unable to create or access scoreboard \"%s\" "
                      "(name-based shared memory failure)", fname);
         return rv;
     }
@@ -204,7 +204,7 @@ static apr_status_t open_scoreboard(apr_pool_t *pconf)
                             global_pool); /* anonymous shared memory */
         if ((rv != APR_SUCCESS) && (rv != APR_ENOTIMPL)) {
             ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL,
-                         "Unable to create scoreboard "
+                         "Unable to create or access scoreboard "
                          "(anonymous shared memory failure)");
             return rv;
         }