tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r438822 - /tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
Date Thu, 31 Aug 2006 07:01:18 GMT
Author: mturk
Date: Thu Aug 31 00:01:18 2006
New Revision: 438822

URL: http://svn.apache.org/viewvc?rev=438822&view=rev
Log:
Fix log messages. No functional change.

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=438822&r1=438821&r2=438822&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c Thu Aug 31 00:01:18 2006
@@ -1391,7 +1391,7 @@
             }
             if (!r->write(r, msg->buf + msg->pos, len)) {
                 jk_log(l, JK_LOG_INFO,
-                       "Connection aborted or network problems");
+                       "Backend connection aborted or network problems");
                 JK_TRACE_EXIT(l);
                 return JK_CLIENT_ERROR;
             }
@@ -1422,7 +1422,7 @@
             }
 
             jk_log(l, JK_LOG_INFO,
-                   "Connection aborted or network problems");
+                   "Client connection aborted or network problems");
 
             JK_TRACE_EXIT(l);
             return JK_CLIENT_ERROR;
@@ -1433,9 +1433,10 @@
         ae->reuse = (int)jk_b_get_byte(msg);
         if (!ae->reuse) {
             /*
-                * Strange protocol error.
-                */
-            jk_log(l, JK_LOG_INFO, " Protocol error: Reuse is set to false");
+             * AJP13 protocol reuse flag set to false.
+             * Tomcat will close its side of the connection.
+             */
+            jk_log(l, JK_LOG_INFO, "AJP13 protocol: Reuse is set to false");
         }
         else if (r->disable_reuse) {
             ae->reuse = JK_FALSE;
@@ -1454,7 +1455,7 @@
 
     default:
         jk_log(l, JK_LOG_ERROR,
-               "Invalid code: %d", code);
+               "Unknown AJP protocol code: %02X", code);
         JK_TRACE_EXIT(l);
         return JK_AJP13_ERROR;
     }



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


Mime
View raw message