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 2008/09/21 08:50:57 UTC

svn commit: r697447 - /tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c

Author: mturk
Date: Sat Sep 20 23:50:57 2008
New Revision: 697447

URL: http://svn.apache.org/viewvc?rev=697447&view=rev
Log:
Log socket number before we set it to -1

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=697447&r1=697446&r2=697447&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c Sat Sep 20 23:50:57 2008
@@ -1039,7 +1039,8 @@
     }
     ae->last_errno = errno;
     jk_log(l, JK_LOG_INFO,
-           "sendfull returned %d (errno=%d)", rc, ae->last_errno);
+           "sendfull for socket %d returned %d (errno=%d)",
+           ae->sd, rc, ae->last_errno);
     ae->sd = JK_INVALID_SOCKET;
 
     JK_TRACE_EXIT(l);
@@ -1398,11 +1399,11 @@
             if (rc == JK_FATAL_ERROR)
                 op->recoverable = JK_FALSE;
             jk_log(l, JK_LOG_INFO,
-                   "(%s) failed sending request (%srecoverable), "
-                   "socket %d (errno=%d)",
+                   "(%s) failed sending request (%srecoverable) "
+                   "(errno=%d)",
                     ae->worker->name,
                     op->recoverable ? "" : "un",
-                    ae->sd, ae->last_errno);
+                    ae->last_errno);
             JK_TRACE_EXIT(l);
             return JK_FATAL_ERROR;
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org