9744f7c126
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. |
||
---|---|---|
.. | ||
base64 | ||
debug | ||
halog | ||
hpack | ||
ip6range | ||
iprange | ||
mod_defender | ||
modsecurity | ||
netsnmp-perl | ||
plug_qdisc | ||
prometheus-exporter | ||
selinux | ||
spoa_example | ||
systemd | ||
tcploop | ||
trace | ||
wireshark-dissectors/peers |