Author: mturk
Date: Sat Mar  7 06:46:30 2009
New Revision: 751204

URL: http://svn.apache.org/viewvc?rev=751204&view=rev
Log:
When logging, log the part of the receive that failed

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=751204&r1=751203&r2=751204&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c Sat Mar  7 
06:46:30 2009
@@ -1139,14 +1139,14 @@
         ae->last_errno = errno;
         if (rc == JK_SOCKET_EOF) {
             jk_log(l, JK_LOG_INFO,
-                   "(%s) can't receive the response message from tomcat, "
+                   "(%s) can't receive the response header message from 
tomcat, "
                    "tomcat (%s) has forced a connection close for socket %d",
                    ae->worker->name, 
jk_dump_hinfo(&ae->worker->worker_inet_addr, buf),
                    ae->sd);
         }
         else {
             jk_log(l, JK_LOG_INFO,
-                   "(%s) can't receive the response message from tomcat, "
+                   "(%s) can't receive the response header message from 
tomcat, "
                    "network problems or tomcat (%s) is down (errno=%d)",
                    ae->worker->name, 
jk_dump_hinfo(&ae->worker->worker_inet_addr, buf),
                    ae->last_errno);
@@ -1231,14 +1231,14 @@
         ae->last_errno = errno;
         if (rc == JK_SOCKET_EOF) {
             jk_log(l, JK_LOG_ERROR,
-                   "(%s) can't receive the response message from tomcat, "
+                   "(%s) can't receive the response body message from tomcat, "
                    "tomcat (%s) has forced a connection close for socket %d",
                    ae->worker->name, 
jk_dump_hinfo(&ae->worker->worker_inet_addr, buf),
                    ae->sd);
         }
         else {
             jk_log(l, JK_LOG_ERROR,
-                   "(%s) can't receive the response message from tomcat, "
+                   "(%s) can't receive the response body message from tomcat, "
                    "network problems or tomcat (%s) is down (errno=%d)",
                    ae->worker->name, 
jk_dump_hinfo(&ae->worker->worker_inet_addr, buf),
                    ae->last_errno);



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

Reply via email to