mturk 2005/02/18 00:27:21
Modified: jk/native/common jk_ajp_common.c
Log:
Check if timeout has been set
Revision Changes Path
1.90 +2 -2
jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c
Index: jk_ajp_common.c
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- jk_ajp_common.c 17 Feb 2005 13:29:19 -0000 1.89
+++ jk_ajp_common.c 18 Feb 2005 08:27:21 -0000 1.90
@@ -846,7 +846,7 @@
/* set last_access only if needed */
if (ae->worker->cache_timeout > 0 || ae->worker->recycle_timeout
> 0)
ae->last_access = time(NULL);
- if (ae->worker->socket_timeout) {
+ if (ae->worker->socket_timeout > 0) {
int rc = 0;
if ((rc = jk_is_socket_connected(ae->sd,
ae->worker->socket_timeout)) != 1) {
jk_log(l, JK_LOG_INFO,
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]