]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
backport simple list manipulation fix:
authorJeff Trawick <trawick@apache.org>
Fri, 8 Dec 2006 12:23:33 +0000 (12:23 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 8 Dec 2006 12:23:33 +0000 (12:23 +0000)
  *) Fix address-in-use startup failure caused by corruption of the list of
     listen sockets in some configurations with multiple generic Listen
     directives.  [Jeff Trawick]

Reviewed by: jim, wrowe

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

CHANGES
STATUS
server/listen.c

diff --git a/CHANGES b/CHANGES
index d82024644b032f8425506f21a04e56044dbfb943..6d02ff9db9a892e3ff831b5b1b784f30ee4e69c1 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,10 @@
                                                         -*- coding: utf-8 -*-
 Changes with Apache 2.2.4
 
+  *) Fix address-in-use startup failure caused by corruption of the list of
+     listen sockets in some configurations with multiple generic Listen
+     directives.  [Jeff Trawick]
+
   *) mod_headers: support regexp-based editing of HTTP headers [Nick Kew]
 
    * mod_proxy: Add explicit flushing feature.
diff --git a/STATUS b/STATUS
index ffd5afabf328cd1e1cd40710855db8b925102cc8..0fea0314dc85e49cc40956a3e32e273086ca69c1 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -98,15 +98,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
         Trunk version works
       +1: rpluem, trawick, wrowe
 
-   * Fix address-in-use startup failure caused by corruption of the list of
-     listen sockets in some configurations with multiple generic Listen
-     directives.
-     Trunk version of patch:
-       http://svn.apache.org/viewvc?view=rev&revision=467034
-     2.2.x version of patch:
-       Trunk version works
-     +1: trawick, jim, wrowe
-
    * mod_dbd: Key the storage of prepared statements on the hex string
      value of server_rec, rather than the server name, as the server name
      may change (eg when the server name is set) at any time, causing
index 36ad50b31ab25148df95c197b0c11fe4debc00e4..ddf874039872451b4f95e816eed9837ea166b6e8 100644 (file)
@@ -415,6 +415,9 @@ static int open_listeners(apr_pool_t *pool)
 
                 /* Remove the current listener from the list */
                 previous->next = lr->next;
+                lr = previous; /* maintain current value of previous after
+                                * post-loop expression is evaluated
+                                */
                 continue;
             }
 #endif