mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-26 16:21:22 +02:00
s->req->prod->conn->addr.to.ss_family contains only useful data if conn_get_to_addr() is called early. If thats not the case (nothing in the configuration needs the destination address like logs, transparent, ...) then "set-tos" doesn't work. Fix this by checking s->req->prod->conn->addr.from.ss_family instead. Also fix a minor doc issue about set-tos in http-response.