]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: proto_htx: Fix htx_res_set_status to also set the reason
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 13 Dec 2018 20:58:18 +0000 (21:58 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 14 Dec 2018 15:03:29 +0000 (16:03 +0100)
commit87a2c0d3f41d7eed037b1305e75effaa7a42be65
treec214aae3f2ec4be0d30fe2f211fab1476099f349
parent2672eb987a131f3e9761b51feed8b889d1fcf47a
BUG/MINOR: proto_htx: Fix htx_res_set_status to also set the reason

Becaue the check on the return value of the function http_replace_res_status was
done upside down, no reason was never set.
src/proto_htx.c