trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jrushf...@apache.org
Subject [trafficserver] branch master updated: The result of TSHttpTxnParentProxySet() maybe overwrite in ParentConfigParams::findParent()
Date Thu, 20 Apr 2017 22:31:12 GMT
This is an automated email from the ASF dual-hosted git repository.

jrushford pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  3a21205   The result of TSHttpTxnParentProxySet() maybe overwrite in ParentConfigParams::findParent()
3a21205 is described below

commit 3a21205e7584762a82be3be9f5191471418a7625
Author: Oknet Xu <xuchao@skyguard.com.cn>
AuthorDate: Wed Mar 29 17:33:14 2017 +0800

    The result of TSHttpTxnParentProxySet() maybe overwrite in ParentConfigParams::findParent()
---
 proxy/ParentSelection.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/proxy/ParentSelection.cc b/proxy/ParentSelection.cc
index cf2bf90..af8e897 100644
--- a/proxy/ParentSelection.cc
+++ b/proxy/ParentSelection.cc
@@ -125,6 +125,7 @@ ParentConfigParams::findParent(HttpRequestData *rdata, ParentResult *result)
     result->last_parent  = 0;
 
     Debug("parent_select", "Result for %s was API set parent %s:%d", rdata->get_host(),
result->hostname, result->port);
+    return;
   }
 
   tablePtr->Match(rdata, result);

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

Mime
View raw message