[BUG] http stats: large outputs sometimes got some parts chopped off
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Sep 2009 20:22:18 +0000 (22:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Sep 2009 20:22:18 +0000 (22:22 +0200)
commit2f9cc8ab520b5554c1787b3796880c59f8b9ba52
tree336ee5202f10cba1be366622fd6122251f6a9316
parentdb57c6b293051ed45eb5dc7f9fcc307bedd486eb
[BUG] http stats: large outputs sometimes got some parts chopped off

Due to a misplaced call to stream_int_retnclose(), the stats output
buffer was erased before each call to produce_content(), resulting
in missing pieces in the stats output if the connection was not
fast enough between haproxy and the client.
src/proto_http.c