You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by la...@apache.org on 2002/05/08 02:45:33 UTC
cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0 mod_jk.c
larryi 02/05/07 17:45:33
Modified: jk/native/apache-2.0 mod_jk.c
Log:
Disable REUSE_WORKER since the generated code is platform specific
and may not offer that much of a speed improvement.
Revision Changes Path
1.44 +7 -6 jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c
Index: mod_jk.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- mod_jk.c 12 Apr 2002 15:55:59 -0000 1.43
+++ mod_jk.c 8 May 2002 00:45:33 -0000 1.44
@@ -60,7 +60,7 @@
* Description: Apache 2 plugin for Jakarta/Tomcat *
* Author: Gal Shachor <sh...@il.ibm.com> *
* Henri Gomez <hg...@slib.fr> *
- * Version: $Revision: 1.43 $ *
+ * Version: $Revision: 1.44 $ *
***************************************************************************/
/*
@@ -1276,7 +1276,8 @@
how to deal with load balancing - but it's usefull for JNI
*/
-#ifdef REUSE_WORKER
+/* Disable "re-use" for now since the following code is currently platform specific */
+/* #ifdef REUSE_WORKER
apr_pool_t *rpool=r->pool;
apr_pool_t *parent_pool= apr_pool_get_parent( rpool );
apr_pool_t *tpool= apr_pool_get_parent( parent_pool );
@@ -1287,9 +1288,9 @@
apr_pool_userdata_set( end , "jk_thread_endpoint",
&jk_cleanup_endpoint, tpool );
}
-#else
+#else */
worker->get_endpoint(worker, &end, l);
-#endif
+/* #endif */
{
int is_recoverable_error = JK_FALSE;
rc = end->service(end, &s, l, &is_recoverable_error);
@@ -1311,9 +1312,9 @@
}
}
-#ifndef REUSE_WORKER
+/* #ifndef REUSE_WORKER */
end->done(&end, l);
-#endif
+/* #endif */
}
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>