mirror of https://github.com/watcha-fr/synapse
Set Content-Length for Metrics requests (#7730)
HTTP requires the response to contain a Content-Length header unless chunked encoding is being used. Prometheus metrics endpoint did not set this, causing software such as prometheus-proxy to not be able to scrape synapse for metrics. Signed-off-by: Christian Svensson <blue@cmd.nu>code_spécifique_watcha
parent
24110255cd
commit
8bbe87f42d
@ -0,0 +1 @@ |
||||
Fix missing `Content-Length` on HTTP responses from the metrics handler. |
Loading…
Reference in new issue