From dev-return-192419-archive-asf-public=cust-asf.ponee.io@tomcat.apache.org Fri Aug 3 15:49:51 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id DF49B180647 for ; Fri, 3 Aug 2018 15:49:50 +0200 (CEST) Received: (qmail 45267 invoked by uid 500); 3 Aug 2018 13:49:44 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 45257 invoked by uid 99); 3 Aug 2018 13:49:44 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2018 13:49:44 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 2AEC93A01C2 for ; Fri, 3 Aug 2018 13:49:44 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1837372 - in /tomcat/jk/trunk: native/netscape/jk_nsapi_plugin.c tools/dist/binaries/netware/ xdocs/webserver_howto/apache.xml Date: Fri, 03 Aug 2018 13:49:43 -0000 To: dev@tomcat.apache.org From: markt@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20180803134944.2AEC93A01C2@svn01-us-west.apache.org> Author: markt Date: Fri Aug 3 13:49:43 2018 New Revision: 1837372 URL: http://svn.apache.org/viewvc?rev=1837372&view=rev Log: Remove Netware from list of supported operating systems Removed: tomcat/jk/trunk/tools/dist/binaries/netware/ Modified: tomcat/jk/trunk/native/netscape/jk_nsapi_plugin.c tomcat/jk/trunk/xdocs/webserver_howto/apache.xml Modified: tomcat/jk/trunk/native/netscape/jk_nsapi_plugin.c URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/native/netscape/jk_nsapi_plugin.c?rev=1837372&r1=1837371&r2=1837372&view=diff ============================================================================== --- tomcat/jk/trunk/native/netscape/jk_nsapi_plugin.c (original) +++ tomcat/jk/trunk/native/netscape/jk_nsapi_plugin.c Fri Aug 3 13:49:43 2018 @@ -67,10 +67,6 @@ static jk_map_t *init_map = NULL; static jk_uri_worker_map_t *uw_map = NULL; static int jk_shm_size = 0; -#ifdef NETWARE -int (*PR_IsSocketSecure) (SYS_NETFD * csd); /* pointer to PR_IsSocketSecure function */ -#endif - static int JK_METHOD start_response(jk_ws_service_t *s, int status, const char *reason, @@ -203,38 +199,11 @@ static int JK_METHOD ws_read(jk_ws_servi unsigned i; netbuf *inbuf = p->sn->inbuf; -/* Until we get a service pack for NW5.1 and earlier that has the latest */ -/* Enterprise Server, we have to go through the else version of this code*/ -#if defined(netbuf_getbytes) && !defined(NETWARE) i = netbuf_getbytes(inbuf, b, l); if (NETBUF_EOF == i || NETBUF_ERROR == i) { return JK_FALSE; } -#else - char *buf = b; - int ch; - for (i = 0; i < l; i++) { - ch = netbuf_getc(inbuf); - /* - * IO_EOF is 0 (zero) which is a very reasonable byte - * when it comes to binary data. So we are not breaking - * out of the read loop when reading it. - * - * We are protected from an infinit loop by the Java part of - * Tomcat. - */ - if (IO_ERROR == ch) { - break; - } - - buf[i] = ch; - } - - if (0 == i) { - return JK_FALSE; - } -#endif *a = i; } @@ -292,7 +261,7 @@ NSAPI_PUBLIC int jk_init(pblock * pb, Se if (shm_file) { shm_file_safe = shm_file; } -#if !defined(WIN32) && !defined(NETWARE) +#if !defined(WIN32) else { fprintf(stderr, "Missing attribute %s in magnus.conf (jk_init) - aborting!\n", JK_SHM_FILE_TAG); @@ -354,21 +323,11 @@ NSAPI_PUBLIC int jk_init(pblock * pb, Se } } -#ifdef NETWARE - PR_IsSocketSecure = - (int (*)(void **))ImportSymbol(GetNLMHandle(), "PR_IsSocketSecure"); -#endif return rc; } NSAPI_PUBLIC void jk_term(void *p) { -#ifdef NETWARE - if (NULL != PR_IsSocketSecure) { - UnimportSymbol(GetNLMHandle(), "PR_IsSocketSecure"); - PR_IsSocketSecure = NULL; - } -#endif if (uw_map) { uri_worker_map_free(&uw_map, logger); } @@ -496,30 +455,12 @@ static int init_ws_service(nsapi_private s->local_addr = server_hostname; s->server_name = server_hostname; -#ifdef NETWARE - /* On NetWare, since we have virtual servers, we have a different way of - * getting the port that we need to try first. - */ - tmp = pblock_findval("server_port", private_data->sn->client); - if (NULL != tmp) - s->server_port = atoi(tmp); - else -#endif s->server_port = server_portnum; s->server_software = system_version(); s->uw_map = uw_map; -#ifdef NETWARE - /* on NetWare, we can have virtual servers that are secure. - * PR_IsSocketSecure is an api made available with virtual servers to check - * if the socket is secure or not - */ - if (NULL != PR_IsSocketSecure) - s->is_ssl = PR_IsSocketSecure(private_data->sn->csd); - else -#endif - s->is_ssl = security_active; + s->is_ssl = security_active; if (s->is_ssl) { char *ssl_cert = pblock_findval("auth-cert", private_data->rq->vars); Modified: tomcat/jk/trunk/xdocs/webserver_howto/apache.xml URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/xdocs/webserver_howto/apache.xml?rev=1837372&r1=1837371&r2=1837372&view=diff ============================================================================== --- tomcat/jk/trunk/xdocs/webserver_howto/apache.xml (original) +++ tomcat/jk/trunk/xdocs/webserver_howto/apache.xml Fri Aug 3 13:49:43 2018 @@ -97,9 +97,6 @@ WinNT4.0-i386 SP4/SP5/SP6a (should be ab Cygwin (until you have an Apache server and autoconf/automake support tools)
  • -Netware -
  • -
  • i5/OS V5R4 (System I) with Apache HTTP Server 2.0.58. Be sure to have the latest Apache PTF installed.
  • --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org