CLEANUP: dns: use a single maximum DNS message size
The DNS code defines separate maximum message sizes for datagram and stream processing, but both are the DNS protocol limit of 65535 bytes. The duplicate names make common response buffers look transport-specific and could allow the values to diverge. The request ring size also has a TCP-specific name even though both datagram and stream servers use it. Replace the message limits with DNS_MAX_MSG_SIZE and rename the ring limit to DNS_MSG_RING_MAX_SIZE. This does not change any limit or runtime behavior.
M
Manu Nicolas committed
7c513681ddda5fa1b9929c2380c1278ed00ddcac
Parent: fc05ed8
Committed by Christopher Faulet <cfaulet@haproxy.com>
on 9/2/2026, 11:40:00 AM