From: Bradley Nicholes Date: Mon, 21 Nov 2005 23:25:44 +0000 (+0000) Subject: Fix a problem with the HTTPS CGI variable not getting set for secure requests. Needed... X-Git-Tag: 2.3.0~2732 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e46c67f1e521db2ee6e8ae96f593f6d348a9160;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/arch/netware/mod_nw_ssl.c b/modules/arch/netware/mod_nw_ssl.c index 0d45c3a6d96..8efdc6f05ac 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;