You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bn...@apache.org on 2005/11/22 00:44:45 UTC

svn commit: r348029 - /httpd/httpd/branches/2.2.x/modules/arch/netware/mod_nw_ssl.c

Author: bnicholes
Date: Mon Nov 21 15:44:42 2005
New Revision: 348029

URL: http://svn.apache.org/viewcvs?rev=348029&view=rev
Log:
Fix a problem with the HTTPS CGI variable not getting set for secure requests. Needed to readd the port and address on every restart whether or not the listen port is being created or resused.

Modified:
    httpd/httpd/branches/2.2.x/modules/arch/netware/mod_nw_ssl.c

Modified: httpd/httpd/branches/2.2.x/modules/arch/netware/mod_nw_ssl.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.2.x/modules/arch/netware/mod_nw_ssl.c?rev=348029&r1=348028&r2=348029&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/modules/arch/netware/mod_nw_ssl.c (original)
+++ httpd/httpd/branches/2.2.x/modules/arch/netware/mod_nw_ssl.c Mon Nov 21 15:44:42 2005
@@ -522,13 +522,13 @@
         walk = &(*walk)->next;
     }
 
+    apr_table_add(sc->sltable, ports, addr);
+
     /* If we found a pre-existing listen socket record, then there
        is no need to create a new secure listen socket record. */
     if (found_listener) {
         return NULL;
     }
-
-    apr_table_add(sc->sltable, ports, addr);
 
     new->local_addr.sin_port = htons(port);
     new->fd = -1;