mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-22 06:37:54 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue