mturk 2005/05/15 09:38:04
Modified: jk/native/common jk_ajp_common.c
Log:
Remove checking if socket is connected after the connect call.
Revision Changes Path
1.115 +1 -13
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.114
retrieving revision 1.115
diff -u -r1.114 -r1.115
--- jk_ajp_common.c 15 May 2005 16:25:38 -0000 1.114
+++ jk_ajp_common.c 15 May 2005 16:38:04 -0000 1.115
@@ -860,18 +860,6 @@
/* 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 > 0) {
- if (!jk_is_socket_connected(ae->sd)) {
- jk_log(l, JK_LOG_INFO,
- "Socket %d to (%s) is not connected any more
(errno=%d)",
- ae->sd, jk_dump_hinfo(&ae->worker->worker_inet_addr,
buf),
- errno);
- jk_close_socket(ae->sd);
- ae->sd = -1;
- JK_TRACE_EXIT(l);
- return JK_FALSE;
- }
- }
/* Check if we must execute a logon after the physical connect */
if (ae->worker->logon != NULL) {
rc = ae->worker->logon(ae, l);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]