commit | 58048a2dc98bfa7f59d86fe2ca878d95ca2310e3 | [log] [tgz] |
---|---|---|
author | Godbach <nylzhaowei@gmail.com> | Wed Jan 28 17:36:16 2015 +0800 |
committer | Willy Tarreau <w@1wt.eu> | Wed Jan 28 11:23:11 2015 +0100 |
tree | 026bb20c82a2c23b0717e2630dca357d2dc43be6 | |
parent | 9770787e7010bbd3b05d2c8a323139f4b6640c45 [diff] |
BUG/MINOR: parse: check the validity of size string in a more strict way If a stick table is defined as below: stick-table type ip size 50ka expire 300s HAProxy will stop parsing size after passing through "50k" and return the value directly. But such format string of size should not be valid. The patch checks the next character to report error if any. Signed-off-by: Godbach <nylzhaowei@gmail.com>