]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: proxy: add http_free_redirect_rule() function
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 11 May 2023 08:30:27 +0000 (10:30 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 11 May 2023 13:37:04 +0000 (15:37 +0200)
commit7abc9224a69eb5f1b592336044257b38823a8fe3
treebcd5474df04ac1b4a23c1ca86ed68467a20b7c2c
parent8dfc2491d2e3a511246f570e0de86c253a86ec54
MINOR: proxy: add http_free_redirect_rule() function

Adding http_free_redirect_rule() function to free a single redirect rule
since it may be required to free rules outside of free_proxy() function.

This patch is required for an upcoming bugfix.

[for 2.2, free_proxy function did not exist (first seen in 2.4), thus
http_free_redirect_rule() needs to be deducted from haproxy.c deinit()
function if the patch is required]
include/haproxy/http_rules.h
src/http_rules.c
src/proxy.c