commit | 63c30667d7910ce4b76f4381c3bf902e249ad43d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Sep 08 13:58:19 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Sep 08 13:59:43 2021 +0200 |
tree | 8bc373b2b017ea7d77a9cb035dbacac9c78d7d59 | |
parent | 4994b57728af4cbd446dedb7aa71c44d43503b69 [diff] |
MINOR: vars: support storing empty sample data with a variable Storing an unset sample (SMP_T_ANY == 0) will be used to only reserve the variable's space but associate no value. We need to slightly adjust var_to_smp() for this so that it considers a value-less variable as non existent and falls back to the default value.