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:
Willy Tarreau 2013-12-28 21:48:56 +01:00
parent f3221f99ac
commit b8006232bf

View File

@ -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;