From: Jeff Trawick Date: Mon, 23 Oct 2006 17:18:35 +0000 (+0000) Subject: Fix address-in-use startup failure caused by corruption of the list of X-Git-Tag: 2.3.0~2056 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3f4ffeaaf30b8d95a35ebd6b9a26172ce082879;p=thirdparty%2Fapache%2Fhttpd.git Fix address-in-use startup failure caused by corruption of the list of listen sockets in some configurations with multiple generic Listen directives. The logic in error is that which prunes out generic IPv4 listening sockets when we already have a v4-mapped generic IPv6 listening socket for the same port. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@467034 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index b49020bc838..26deeeb095f 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,10 @@ Changes with Apache 2.3.0 [Remove entries to the current 2.0 and 2.2 section below, when backported] + *) 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_authn_dbd: Export any additional columns queried in the SQL select into the environment with the name AUTHENTICATE_. This brings mod_authn_dbd behaviour in line with mod_authnz_ldap. [Graham Leggett] diff --git a/server/listen.c b/server/listen.c index 36ad50b31ab..ddf87403987 100644 --- a/server/listen.c +++ b/server/listen.c @@ -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