commit | 7560dd4b6a4b4f8ee2c002cd3ecb36e854cb8de1 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Mar 10 16:28:58 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Mar 10 16:42:58 2016 +0100 |
tree | 49c4e0b435efe96eb97b231248011262bb32a57d | |
parent | 1777ea63e0b7375b51511bbc4a9c9f88f0f89171 [diff] |
MINOR: sample: always set a new sample's owner before evaluating it Some functions like sample_conv_var2smp(), var_get_byname(), and var_set_byname() directly or indirectly need to access the current stream and/or session and must find it in the sample itself and not as a distinct argument. Thus we first need to call smp_set_owner() prior to each such calls.