]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http: check the source address via conn_get_src() in sample fetch functions
authorWilly Tarreau <w@1wt.eu>
Wed, 17 Jul 2019 14:57:03 +0000 (16:57 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 19 Jul 2019 11:50:09 +0000 (13:50 +0200)
commitcd7ca79e6c924724a8b233dbc9affa513bd92993
tree9ba4dc673394c312d129d8bd3ecd14c7a48b0b97
parent428d8e32f4f4598b59017d387e8d17fdf114705f
MINOR: http: check the source address via conn_get_src() in sample fetch functions

In smp_fetch_url32_src() and smp_fetch_base32_src() it's better to
validate that the source address was properly initialized since it
will soon be dynamic, thus let's call conn_get_src().
src/http_fetch.c