From 6e46c67f1e521db2ee6e8ae96f593f6d348a9160 Mon Sep 17 00:00:00 2001 From: Bradley Nicholes Date: Mon, 21 Nov 2005 23:25:44 +0000 Subject: [PATCH] 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 --- modules/arch/netware/mod_nw_ssl.c | 4 ++-- 1 file 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; -- 2.40.0