]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] http: capture incorrectly chunked message bodies
authorWilly Tarreau <w@1wt.eu>
Sun, 12 Dec 2010 12:10:11 +0000 (13:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 12 Dec 2010 12:10:11 +0000 (13:10 +0100)
commite1582eb7f63a2a4d5e81c78b98d3d35c95ec90ce
treeb6070fbf25c285ca637c46d05e6f6f5c6a94ac99
parent81f2fb97fe92f3b912309fc067ab64363055d4ff
[MINOR] http: capture incorrectly chunked message bodies

It is possible to block on incorrectly chunked requests or responses,
but this becomes very hard to debug when it happens once in a while.
This patch adds the ability to also capture incorrectly chunked requests
and responses. The chunk will appear in the error buffer and will be
verifiable with the usual "show errors". The incorrect byte will match
the error location.
src/proto_http.c