CLEANUP: resolvers: stop clearing the DNS response buffer
resolv_process_responses() clears the whole response buffer before each receive. The receive operation supplies the message length and all parser accesses are bounded by the corresponding end pointer, so no byte beyond the received message is observed. Remove the unnecessary buffer clear.
M
Manu Nicolas committed
259465498fe59c3c14125e5a956ab4d5accee2f4
Parent: 3b40019
Committed by Christopher Faulet <cfaulet@haproxy.com>
on 9/1/2026, 3:58:52 PM