haproxy/examples
Aurelien DARRAGON 3f1b901db8 EXAMPLES: maintain haproxy 2.8 retrocompatibility for lua mailers script
Because of b58bd97 ("MINOR: hlua_fcn/mailers: handle timeout mail from
mailers section"), latest examples/lua/mailers.lua file wouldn't work
if loaded with haproxy < 2.8.2 (which is not yet released), unless it
is manually recompiled from the latest code sources.

But this can be an issue given that direct URL may be referenced in
guides/tutorials as download link for the the script, independently
from the related haproxy source code revision.
ie: http://git.haproxy.org/?p=haproxy-2.8.git;a=blob_plain;f=examples/lua/mailers.lua;hb=HEAD

Thus, in order to make examples/lua/mailers.lua work with previous 2.8
versions, we ensure that the script stays compatible with pre-b58bd97
code by adding extra checks in the script.

This must be backported in 2.8 with b58bd97
2023-07-11 16:04:22 +02:00
..
errorfiles MINOR: fix typos in the examples files 2018-11-18 22:24:51 +01:00
lua EXAMPLES: maintain haproxy 2.8 retrocompatibility for lua mailers script 2023-07-11 16:04:22 +02:00
basic-config-edge.cfg EXAMPLES: update the basic-config-edge file for 2.8 2023-05-31 16:08:57 +02:00
content-sw-sample.cfg
haproxy.init DOC: remove last occurrences of "HA-Proxy" syntax 2021-05-09 06:29:40 +02:00
option-http_proxy.cfg MEDIUM: proxy: remove long-broken 'option http_proxy' 2021-07-18 19:35:32 +02:00
quick-test.cfg EXAMPLES: add a trivial config for quick testing 2021-05-12 17:54:56 +02:00
socks4.cfg MEDIUM: connection: Upstream SOCKS4 proxy support 2019-05-31 17:24:06 +02:00
transparent_proxy.cfg CLEANUP: assorted typo fixes in the code and comments 2020-06-26 11:27:28 +02:00
wurfl-example.cfg CLEANUP: assorted typo fixes in the code and comments 2020-06-26 11:27:28 +02:00