commit | 12698b7aeb8359e11e3b94a2842aa736c8196193 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue Jul 02 16:36:15 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Jul 03 14:01:26 2019 +0200 |
tree | 39ab82f8f3a55fe95d50bd3523e99fffbdecd26e | |
parent | 865ed9b866f910188fc75e6f03b60ab7de3c1bfd [diff] |
BUG/MINOR: contrib/prometheus-exporter: Don't use channel_htx_recv_max() The function htx_free_data_space() must be used intead. Otherwise, if there are some output data not already forwarded, the maximum amount of data that may be inserted into the buffer may be greater than what we can really insert. This patch must be backported to 2.0. (cherry picked from commit e6cdfe574e2befca8252b320d7415485b985ba56) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>