Frédéric Lécaille | 9b53b4c | 2018-06-20 07:26:44 +0200 | [diff] [blame] | 1 | # commit 84c844eb12b250aa86f2aadaff77c42dfc3cb619 |
| 2 | # BUG/MINOR: spoe: Initialize variables used during conf parsing before any check |
| 3 | # |
| 4 | # Some initializations must be done at the beginning of parse_spoe_flt to avoid |
Ilya Shipitsin | 77e3b4a | 2020-03-10 12:06:11 +0500 | [diff] [blame] | 5 | # segmentation fault when first errors are caught, when the "filter spoe" line is |
Frédéric Lécaille | 9b53b4c | 2018-06-20 07:26:44 +0200 | [diff] [blame] | 6 | # parsed. |
| 7 | |
Frédéric Lécaille | dc1a3bd | 2019-03-29 15:07:24 +0100 | [diff] [blame] | 8 | #REGTEST_TYPE=bug |
| 9 | |
Frédéric Lécaille | 9b53b4c | 2018-06-20 07:26:44 +0200 | [diff] [blame] | 10 | varnishtest "SPOE bug: missing configuration file" |
| 11 | |
Frédéric Lécaille | fe5463e | 2018-08-21 15:29:24 +0200 | [diff] [blame] | 12 | feature ignore_unknown_macro |
| 13 | |
Frédéric Lécaille | 9b53b4c | 2018-06-20 07:26:44 +0200 | [diff] [blame] | 14 | haproxy h1 -conf-BAD {} { |
| 15 | defaults |
Willy Tarreau | f673923 | 2021-11-18 17:46:22 +0100 | [diff] [blame] | 16 | timeout connect "${HAPROXY_TEST_TIMEOUT-5s}" |
| 17 | timeout client "${HAPROXY_TEST_TIMEOUT-5s}" |
| 18 | timeout server "${HAPROXY_TEST_TIMEOUT-5s}" |
Frédéric Lécaille | 9b53b4c | 2018-06-20 07:26:44 +0200 | [diff] [blame] | 19 | |
| 20 | frontend my-front |
| 21 | filter spoe |
| 22 | } |