commit | d02210cd30dad77711e58857e610cd9bd71c49ff | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Jul 24 16:24:39 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Jul 24 17:16:11 2017 +0200 |
tree | 86968566f5d70ba2c5b84f1a9bf56188afa11945 | |
parent | 5db105e8b2dea551a217dfb9f8fdb00c5a769332 [diff] |
MINOR: samples: Don't allocate memory for SMP_T_METH sample when method is known For known methods (GET,POST...), in samples, an enum is used instead of a chunk to reference the method. So there is no needs to allocate memory when a variable is stored with this kind of sample.