]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] stats: prepare the connection for closing before dumping
authorWilly Tarreau <w@1wt.eu>
Tue, 22 Sep 2009 17:27:35 +0000 (19:27 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Sep 2009 21:52:16 +0000 (23:52 +0200)
commit56a560aef449d79bd18fef465f12630a0a049680
tree45b9cc0a3b26340fbfb5943b5fd1f00da8060255
parenteecc8ee673b8d8babdc5bd092612fca63f1156a6
[MEDIUM] stats: prepare the connection for closing before dumping

We will need to modify the stats dump functions so that they can
be used in interactive mode. For this, we want their caller to
prepare the connection for a close, not themselves to do it.
Let's simply move the stream_int_retnclose() out.
src/dumpstats.c
src/proto_http.c