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 |
| 16 | timeout connect 5000ms |
| 17 | timeout client 50000ms |
| 18 | timeout server 50000ms |
| 19 | |
| 20 | frontend my-front |
| 21 | filter spoe |
| 22 | } |