mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 23:01:24 +02:00
BUG/MEDIUM: stats: fix HTTP/1.0 breakage introduced in previous patch
Some debugging code was left in the code and committed, which breaks 1.0.
This commit is contained in:
parent
f3221f99ac
commit
b8006232bf
@ -4151,7 +4151,7 @@ static int stats_send_http_headers(struct stream_interface *si)
|
||||
|
||||
if (appctx->ctx.stats.flags & STAT_CHUNKED)
|
||||
chunk_appendf(&trash, "Transfer-Encoding: chunked\r\n");
|
||||
else if (appctx->ctx.stats.flags & STAT_CHUNKED)
|
||||
else
|
||||
chunk_appendf(&trash, "\r\n");
|
||||
|
||||
s->txn.status = 200;
|
||||
|
Loading…
x
Reference in New Issue
Block a user