]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats: send content-length with the redirect to allow keep-alive
authorWilly Tarreau <w@1wt.eu>
Tue, 26 Jan 2016 12:57:29 +0000 (13:57 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 27 Jan 2016 19:22:36 +0000 (20:22 +0100)
commitfdfcc9d2b75e97f81b40f80ddd341ab77550f43b
treea05cd344f575f79c8bd0b499cb1c44e1f5de9b44
parentceeafb5efc6e916a99aaa59d20e6825b9febc378
MINOR: stats: send content-length with the redirect to allow keep-alive

After a POST on the stats admin page, a 303 is emitted. Unfortunately
this 303 doesn't contain a content-length, which forces the connection
to be closed and reopened. Let's simply add a content-length: 0 to solve
this.
src/dumpstats.c