commit | f778bb46d6488629d24829e6c99b4566c7e46ce9 | [log] [tgz] |
---|---|---|
author | Baptiste Assmann <bedis9@gmail.com> | Wed Sep 09 00:54:38 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Sep 10 15:46:03 2015 +0200 |
tree | 2a396b9134e6e509ea9e2aa8399cba4e1ad01922 | |
parent | 0453a1dd4533530b444255b0cdb96cd6b95aec67 [diff] |
BUG/MINOR: DNS request retry counter used for retry only There are two types of retries when performing a DNS resolution: 1. retry because of a timeout 2. retry of the full sequence of requests (query types failover) Before this patch, the 'resolution->try' counter was incremented after each send of a DNS request, which does not cover the 2 cases above. This patch fix this behavior.