Author: rjung
Date: Tue Mar 10 02:09:05 2009
New Revision: 751959

URL: http://svn.apache.org/viewvc?rev=751959&view=rev
Log:
Move JK_AJP_PROTOCOL_ERROR in front of JK_STATUS_ERROR
to keep JK_STATUS_ERROR and JK_STATUS_FATAL_ERROR
close together.
Modified:
    tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c

Modified: tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c?rev=751959&r1=751958&r2=751959&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c Tue Mar 10 02:09:05 
2009
@@ -1287,9 +1287,9 @@
                     rec->s->error_time = 0;
                     rc = JK_FALSE;
                 }
-                else if (service_stat == JK_STATUS_ERROR) {
+                else if (service_stat == JK_AJP_PROTOCOL_ERROR) {
                     /*
-                     * Status code configured as service is down.
+                     * We've received the bad AJP message from the backend.
                      * Don't mark the node as bad.
                      * Failing over to another node could help.
                      */
@@ -1298,9 +1298,9 @@
                     rec->s->error_time = 0;
                     rc = JK_FALSE;
                 }
-                else if (service_stat == JK_AJP_PROTOCOL_ERROR) {
+                else if (service_stat == JK_STATUS_ERROR) {
                     /*
-                     * We've received the bad AJP message from the backend.
+                     * Status code configured as service is down.
                      * Don't mark the node as bad.
                      * Failing over to another node could help.
                      */



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

Reply via email to