]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http/htx: use conn_get_dst() to retrieve the destination address
authorWilly Tarreau <w@1wt.eu>
Wed, 17 Jul 2019 09:49:08 +0000 (11:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 19 Jul 2019 11:50:09 +0000 (13:50 +0200)
commit83b5890b4724bf297e414fb7258a5ed8f9bcc4e4
treee66f7fdc7c558ec173b8838528be05a0cf5cb6d9
parent8fa9984a17f17913d471b8c1e7fa83859379594c
MINOR: http/htx: use conn_get_dst() to retrieve the destination address

When adding the X-Original-To header, let's use conn_get_dst() and make
sure it succeeds, since  previous call to conn_get_to_addr() was unchecked.
src/http_ana.c