commit | b796afa60dc44e96beeec508e6180f3ed1708b72 | [log] [tgz] |
---|---|---|
author | Simon Horman <horms@verge.net.au> | Tue Feb 12 10:45:53 2013 +0900 |
committer | Willy Tarreau <w@1wt.eu> | Wed Feb 13 10:59:50 2013 +0100 |
tree | 5075678f0bdbe76a46014fb82e8350e557564309 | |
parent | 58b5d292b3129dfc2cb1fe880c4b0294bf13749d [diff] |
MEDIUM: server: Tighten up parsing of weight string Detect: * Empty weight string, including no digits before '%' in relative weight string * Trailing garbage, including between the last integer and '%' in relative weights The motivation for this is to allow the weight string to be safely logged if successfully parsed by this function Signed-off-by: Simon Horman <horms@verge.net.au>