BUG/MINOR: dns: add test on result getting value from buffer into ring.
authorEmeric Brun <ebrun@haproxy.com>
Mon, 15 Feb 2021 12:58:06 +0000 (13:58 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 15 Feb 2021 14:12:55 +0000 (15:12 +0100)
commit538bb0441c7a28f27389fce957b3b337e82130d9
tree75e8c85812130d38c55e9eda10b24e4e209ad591
parente3f7bd5ae9e969cbfe87e4130d06bff7a3e814c6
BUG/MINOR: dns: add test on result getting value from buffer into ring.

This patch adds a missing test in dns_session_io_handler, getting
the query id from the buffer of the ring. An error should never
happen since messages are completely added atomically.

This bug should fix github issue #1133
src/dns.c