commit | 18387e2e486fb3d6c1623c1911752639622288d2 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jul 25 12:02:38 2013 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jul 25 15:00:37 2013 +0200 |
tree | 5fafa41ab64732b10f79a197c9195ea6e9ec98c0 | |
parent | 833cc79434be9c5d33267a389766b850579334f2 [diff] |
MINOR: sample: fix sample_process handling of unstable data sample_process() used to return NULL on changing data, regardless of the SMP_OPT_FINAL flag. Let's change this so that it is now possible to include such data in logs or HTTP headers. Also, one unconvenient thing was that it used to always set the sample flags to zero, making it incompatible with ACLs which may need to call it multiple times. Only do this for locally-allocated samples.