commit | c37caab21c172ca042d5ef3aca6d1102f479dd53 | [log] [tgz] |
---|---|---|
author | Emeric Brun <ebrun@haproxy.com> | Fri Oct 29 16:28:33 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Nov 03 17:16:46 2021 +0100 |
tree | 8b67257dbf4f75b59a3f43ca03aaeb5018287c4c | |
parent | f9d5957cd9a94c517a9d1fea8f536ab08922d9a9 [diff] |
BUG/MINOR: resolvers: fix sent messages were counted twice The sent messages counter was increased at both resolver.c and dns.c layers. This patch let the dns.c layer count the sent messages since this layer handle a retry if transport layer is not ready (EAGAIN on udp or tcp session ring buffer full). This patch should be backported on all versions using a split of those layers for resolving (v >=2.4)