You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2006/08/25 19:49:43 UTC
svn commit: r436876 -
/tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
Author: mturk
Date: Fri Aug 25 10:49:43 2006
New Revision: 436876
URL: http://svn.apache.org/viewvc?rev=436876&view=rev
Log:
Do not log errno with jk_is_socket_connected.
The errno itself is misleading with new socket
closed detection code.
Modified:
tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
Modified: tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c?rev=436876&r1=436875&r2=436876&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c Fri Aug 25 10:49:43 2006
@@ -1176,8 +1176,8 @@
if (ae->worker->socket_timeout) {
if (!jk_is_socket_connected(ae->sd)) {
jk_log(l, JK_LOG_INFO,
- "Socket %d is not connected any more (errno=%d)",
- ae->sd, errno);
+ "Socket %d is not connected any more",
+ ae->sd);
jk_close_socket(ae->sd);
ae->sd = JK_INVALID_SOCKET;
err++;
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org