You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2017/01/24 04:27:19 UTC
[trafficserver] branch 6.2.x updated: TS-5104: Correct the
calculation of max_dns_lookups in OSDNSLookup
This is an automated email from the ASF dual-hosted git repository.
bcall pushed a commit to branch 6.2.x
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/6.2.x by this push:
new 5712dc1 TS-5104: Correct the calculation of max_dns_lookups in OSDNSLookup
5712dc1 is described below
commit 5712dc19b0472e49823aa63b0c2061a983066d39
Author: Oknet Xu <xu...@skyguard.com.cn>
AuthorDate: Thu Dec 22 23:14:37 2016 +0800
TS-5104: Correct the calculation of max_dns_lookups in OSDNSLookup
---
proxy/http/HttpTransact.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index f8abad7..2c09466 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -1673,7 +1673,7 @@ HttpTransact::ReDNSRoundRobin(State *s)
void
HttpTransact::OSDNSLookup(State *s)
{
- static int max_dns_lookups = 3 + s->http_config_param->num_url_expansions;
+ static int max_dns_lookups = 2 + s->http_config_param->num_url_expansions;
++s->dns_info.attempts;
DebugTxn("http_trans", "[HttpTransact::OSDNSLookup] This was attempt %d", s->dns_info.attempts);
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].