haproxy/contrib
Christopher Faulet 9744f7c126 BUG/MINOR: contrib/prometheus-exporter: Fix applet accordingly to recent changes
Since the flag EOI was added on channels, some hidden bugs in the prometheus
exporter now leads to error. the visible effect is that responses are
truncated.

So first of all, channel_add_input() must be called when the response headers
and the EOM block are added. To be sure to correctly update the response channel
(especially to_forward value). Then the request must really be fully
consumed. And finally, the return clause in the switch has been replaced by a
break. It was totally wrong to skip the end of the function in the states
PROMEX_DONE and PROMEX_ERROR. (Note that PROMEX_ERROR was never used, so it was
replaced by PROMEX_END just to ease reading the code).

No need to backport this patch, the Prometheus exporter does not exist in early
versions.
2019-03-27 16:08:32 +01:00
..
base64
debug CONTRIB: debug: report the CS and CF's EOI flags 2019-03-25 18:34:28 +01:00
halog CLEANUP: fix a typo in a comment for the contrib/halog subsystem 2018-11-12 08:52:16 +01:00
hpack CONTRIB: hpack: add a compressed stream generator for the encoder 2018-12-11 09:06:46 +01:00
ip6range BUILD: contrib: fix ip6range build on Centos 7 2016-11-22 11:50:51 +01:00
iprange CONTRIB: iprange: Fix compiler warning in iprange.c 2017-12-20 09:36:58 +01:00
mod_defender MAJOR: chunks: replace struct chunk with struct buffer 2018-07-19 16:23:43 +02:00
modsecurity CLEANUP: fix typos in comments for the contrib/modsecurity subsystem 2018-11-12 08:52:36 +01:00
netsnmp-perl [CONTRIB] Update Cacti Tempates 2010-10-30 19:04:36 +02:00
plug_qdisc CONTRIB: plug qdiscs: Plug queuing disciplines mini HOWTO. 2017-06-14 16:22:34 +02:00
prometheus-exporter BUG/MINOR: contrib/prometheus-exporter: Fix applet accordingly to recent changes 2019-03-27 16:08:32 +01:00
selinux
spoa_example CLEANUP: fix typos in comments for contrib/spoa_example 2018-11-12 08:52:54 +01:00
systemd MINOR: systemd: consider exit status 143 as successful 2018-07-12 17:44:51 +02:00
tcploop CONTRIB: tcploop: add action "X" to execute a command 2017-05-03 06:58:53 +02:00
trace CONTRIB: trace: report the base name only for file names 2017-10-24 19:54:25 +02:00
wireshark-dissectors/peers CLEANUP: fix typos in comments for contrib/wireshark-dissectors 2018-11-12 08:53:16 +01:00