tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r479235 - /tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c
Date Sat, 25 Nov 2006 23:44:41 GMT
Author: rjung
Date: Sat Nov 25 15:44:40 2006
New Revision: 479235

URL: http://svn.apache.org/viewvc?view=rev&rev=479235
Log:
- partially undo r476817: if there exist connections,
  but all of them are broken, reconnect only during the
  next retry. If retries=1 in configuration, this allows
  immediate failover in the lb.
- remove a tab

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?view=diff&rev=479235&r1=479234&r2=479235
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_ajp_common.c Sat Nov 25 15:44:40 2006
@@ -1230,11 +1230,13 @@
             jk_log(l, JK_LOG_INFO,
                    "(%s) increase the backend idle connection timeout or the connection_pool_minsize",
                    ae->worker->name);
+            JK_TRACE_EXIT(l);
+            return JK_FALSE;
         }
         /* Connect to the backend.
          * This can be either uninitalized connection or a reconnect.
          */
-        if (ajp_connect_to_endpoint(ae, l) == JK_TRUE) {            
+        if (ajp_connect_to_endpoint(ae, l) == JK_TRUE) {
             /*
              * After we are connected, each error that we are going to
              * have is probably unrecoverable



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


Mime
View raw message