]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix a problem with the HTTPS CGI variable not getting set for secure requests. Needed...
authorBradley Nicholes <bnicholes@apache.org>
Mon, 21 Nov 2005 23:25:44 +0000 (23:25 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Mon, 21 Nov 2005 23:25:44 +0000 (23:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@348014 13f79535-47bb-0310-9956-ffa450edef68

modules/arch/netware/mod_nw_ssl.c

index 0d45c3a6d96bb3c3ca4ed491c6624ee862e3f326..8efdc6f05acce6c1301dbd074bcb81caec50778e 100644 (file)
@@ -522,14 +522,14 @@ static const char *set_secure_listener(cmd_parms *cmd, void *dummy,
         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;
     new->used = 0;