haproxy/reg-tests/spoe/wrong_init.vtc
Christopher Faulet eb89a7da33 MAJOR: spoe: Let the SPOE back into the game
This reverts commits 885e40494c5de6aee841222496d84dc718401fa0 and
dff98071888ae06dcec0a6c3a9222e76e893305d.

We decided to spend some time to refactor and rationnalize the SPOE for the
3.1. Thus there is no reason to still consider it as deprecated for the
3.0. Compatibility between the both versions will be maintained.

See #2502 for more info.
2024-05-22 09:04:38 +02:00

23 lines
639 B
Plaintext

# commit 84c844eb12b250aa86f2aadaff77c42dfc3cb619
# BUG/MINOR: spoe: Initialize variables used during conf parsing before any check
#
# Some initializations must be done at the beginning of parse_spoe_flt to avoid
# segmentation fault when first errors are caught, when the "filter spoe" line is
# parsed.
#REGTEST_TYPE=bug
varnishtest "SPOE bug: missing configuration file"
feature ignore_unknown_macro
haproxy h1 -conf-BAD {} {
defaults
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
frontend my-front
filter spoe
}