commit | 4eba544e246c83dee467aee2de66ae2f0f4e8e1c | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Thu Oct 25 20:29:31 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Oct 26 04:54:40 2018 +0200 |
tree | 7242849663d8b903c242bd8e3f64b8fcb773a270 | |
parent | 4c8aa117f9bda3b5253f03ad5a7135a9165060f5 [diff] |
MINOR: cache: Avoid usage of atoi() when parsing "max-object-size". With this patch we avoid parsing "max-object-size" with atoi() and we store its value as an unsigned int to prevent bad implicit conversion issues especially when we compare it with others unsigned value (content length).