commit | e6cdfe574e2befca8252b320d7415485b985ba56 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue Jul 02 16:36:15 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue Jul 02 21:08:26 2019 +0200 |
tree | c8040ab090054f690f214e1a44ae7f015ece4c27 | |
parent | f494957980d3e570ba2f4339481c3a66182e1af3 [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.