commit | 2164800c1b9382d154e9e2d0c500e77b89efee77 | [log] [tgz] |
---|---|---|
author | Tim Duesterhus <tim@bastelstu.be> | Sun Jun 23 22:10:10 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Jun 26 11:15:49 2019 +0200 |
tree | 25e71d60c46c73f95a4958cc482e0ade8936e985 | |
parent | 2f6d3c0d65f09c342612d1b69198e23773fb7520 [diff] |
BUG/MINOR: log: Detect missing sampling ranges in config Consider a config like: global log 127.0.0.1:10001 sample :10 local0 No sampling ranges are given here, leading to NULL being passed as the first argument to qsort. This configuration does not make sense anyway, a log without ranges would never log. Thus output an error if no ranges are given. This bug was introduced in d95ea2897eb951c72fd169f36b6a79905f2ed999. This fix must be backported to HAProxy 2.0.