Github user jpeach commented on a diff in the pull request:
https://github.com/apache/trafficserver/pull/950#discussion_r77250346
--- Diff: proxy/http/HttpTransact.cc ---
@@ -1692,16 +1692,15 @@ HttpTransact::ReDNSRoundRobin(State *s)
void
HttpTransact::OSDNSLookup(State *s)
{
- static int max_dns_lookups = 3 +
s->http_config_param->num_url_expansions;
- ++s->dns_info.attempts;
-
- DebugTxn("http_trans", "[HttpTransact::OSDNSLookup] This was attempt
%d", s->dns_info.attempts);
+ static int max_dns_lookups = 3;
--- End diff --
```C
static const int max_dns_lookups = 3;
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---