]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http: Use out buffer instead of trash to display error snapshot
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 29 Nov 2018 21:53:30 +0000 (22:53 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Dec 2018 16:20:36 +0000 (17:20 +0100)
commited26fb8ac82708f6fb1c2ea7ee1c084d5f7cc647
tree5321ad1387638a9b29e473688a75aa5d4040a0d2
parent7805e2bc1faf04169866c801087fd794535ecbb2
BUG/MINOR: http: Use out buffer instead of trash to display error snapshot

the function http_show_error_snapshot() must not use the trash buffer to append
the HTTP error description. Instead, it must use the <out> buffer, its first
argument. Note that concretely, this function always succeeds because <out> is
always the trash buffer.
src/proto_http.c