CLEANUP: pattern: remove the unused and dangerous pat_ref_reload()
authorWilly Tarreau <w@1wt.eu>
Tue, 11 May 2021 14:49:55 +0000 (16:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 11 May 2021 14:49:55 +0000 (16:49 +0200)
commitda7f11bfb58c42c024cd4ba5aa32b008c1390f56
treef4131e1fbb7d3d0dad137837cfb9fbe7f36388e8
parentf5fb858bb744a79fcdbe8d640378c51c2d73b3c7
CLEANUP: pattern: remove the unused and dangerous pat_ref_reload()

This function was not used anymore after the atomic updates were
implemented in 2.3, and it must not be used given that it does not
yield and can easily make the process hang for tens of seconds on
large acls/maps. Let's remove it before someone uses it as an
example to implement something else!
include/haproxy/pattern.h
src/pattern.c