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

oknet 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  7ffe037   TS-5106: Create ParentRoundRobin object as 
ParentRecord->selection_strategy for default parent proxy server
7ffe037 is described below

commit 7ffe037845f45497aa9e95919a3a7bc0ca288163
Author: Oknet Xu <xuc...@skyguard.com.cn>
AuthorDate: Fri Dec 23 15:53:50 2016 +0800

    TS-5106: Create ParentRoundRobin object as ParentRecord->selection_strategy 
for default parent proxy server
---
 proxy/ParentSelection.cc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/proxy/ParentSelection.cc b/proxy/ParentSelection.cc
index 974e6b7..3b08812 100644
--- a/proxy/ParentSelection.cc
+++ b/proxy/ParentSelection.cc
@@ -498,6 +498,9 @@ ParentRecord::DefaultInit(char *val)
     ats_free(errBuf);
     return false;
   } else {
+    ParentRR_t round_robin = P_NO_ROUND_ROBIN;
+    TSDebug("parent_select", "allocating ParentRoundRobin() lookup strategy.");
+    selection_strategy = new ParentRoundRobin(this, round_robin);
     return true;
   }
 }

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

Reply via email to