summaryrefslogtreecommitdiffstats
path: root/modules/arch/netware/mod_nw_ssl.c
diff options
context:
space:
mode:
authorBradley Nicholes <bnicholes@apache.org>2005-11-22 00:25:44 +0100
committerBradley Nicholes <bnicholes@apache.org>2005-11-22 00:25:44 +0100
commit6e46c67f1e521db2ee6e8ae96f593f6d348a9160 (patch)
treec0ec89705de446afc386e3df64ed07a43fa3ea6b /modules/arch/netware/mod_nw_ssl.c
parentWrap exported functions in AP_DECLARE (diff)
downloadapache2-6e46c67f1e521db2ee6e8ae96f593f6d348a9160.tar.xz
apache2-6e46c67f1e521db2ee6e8ae96f593f6d348a9160.zip
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.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@348014 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/arch/netware/mod_nw_ssl.c')
-rw-r--r--modules/arch/netware/mod_nw_ssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/arch/netware/mod_nw_ssl.c b/modules/arch/netware/mod_nw_ssl.c
index 0d45c3a6d9..8efdc6f05a 100644
--- a/modules/arch/netware/mod_nw_ssl.c
+++ b/modules/arch/netware/mod_nw_ssl.c
@@ -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;