You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2017/01/19 16:20:51 UTC

[trafficserver] branch master updated: Change connect_attempts_rr_retries test to match warning text

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  8caf5cf   Change connect_attempts_rr_retries test to match warning text
8caf5cf is described below

commit 8caf5cf43ab7152792e7f219ee86ad9d5b1475d4
Author: Randall Meyer <ra...@yahoo.com>
AuthorDate: Wed Jan 18 15:25:30 2017 -0800

    Change connect_attempts_rr_retries test to match warning text
    
    Fixes #1340
---
 proxy/http/HttpConfig.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/http/HttpConfig.cc b/proxy/http/HttpConfig.cc
index 763f6ba..9c69e0a 100644
--- a/proxy/http/HttpConfig.cc
+++ b/proxy/http/HttpConfig.cc
@@ -1240,7 +1240,7 @@ HttpConfig::reconfigure()
 
   params->oride.connect_attempts_max_retries             = m_master.oride.connect_attempts_max_retries;
   params->oride.connect_attempts_max_retries_dead_server = m_master.oride.connect_attempts_max_retries_dead_server;
-  if (m_master.oride.connect_attempts_rr_retries >= params->oride.connect_attempts_max_retries) {
+  if (m_master.oride.connect_attempts_rr_retries > params->oride.connect_attempts_max_retries) {
     Warning("connect_attempts_rr_retries (%" PRIu64 ") is greater than "
             "connect_attempts_max_retries (%" PRIu64 "), this means requests "
             "will never redispatch to another server",

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].