]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: dns: handling of truncated response
authorBaptiste Assmann <bedis9@gmail.com>
Wed, 2 Sep 2015 20:08:38 +0000 (22:08 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 Sep 2015 12:59:49 +0000 (14:59 +0200)
commit3440f0da2a47a765fbcb450195120daaef00a68d
tree8f8a304cfc0aeddb45f2dd1099fd36df0d043d4e
parent0df5d9669ab527431f0efe8d517b5bba0c1edc4b
MEDIUM: dns: handling of truncated response

First dns client implementation simply ignored most of DNS response
flags.
This patch changes the way the flags are parsed, using bit masks and
also take care of truncated responses.
Such response are reported to the above layer which can handle it
properly.
src/dns.c