commit | 5b4bf70a95b745f4316d91e80ecf58e11fa60ebf | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Jun 13 16:04:35 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jun 13 16:32:48 2014 +0200 |
tree | 321af98a7cd473a3c945ab4ccbf4ae99b05a2031 | |
parent | d9ed3d2848d460935d0c29358ad98006f84545e7 [diff] |
MINOR: sample: improve sample_fetch_string() to report partial contents Currently, all callers to sample_fetch_string() call it with SMP_OPT_FINAL. Now we improve it to support the case where this option is not set, and to make it return the original sample as-is. The purpose is to let the caller check the SMP_F_MAY_CHANGE flag in the result and know that it should wait to get complete contents. Currently this has no effect on existing code.