BUG/MINOR: dns: fix ring attach control on dns_session_new
authorEmeric Brun <ebrun@haproxy.com>
Mon, 15 Feb 2021 14:13:31 +0000 (15:13 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 15 Feb 2021 14:24:28 +0000 (15:24 +0100)
commit0e40fda16a098a438b4508b2d607ca87c411da9e
tree0e2c5fad9202479aa63c7e8152d33aa6bb2db230
parent743afeed3336c99ef3b4b5e355c9baf49b2cf03b
BUG/MINOR: dns: fix ring attach control on dns_session_new

Ths patch adds a control on ring_attach which can not currently fail
since we are the first to try to attach.

This should fix issue #1126
src/dns.c