]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http: error snapshots are wrong if buffer wraps
authorWilly Tarreau <w@1wt.eu>
Tue, 8 May 2012 06:54:15 +0000 (08:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 May 2012 19:28:15 +0000 (21:28 +0200)
commitd6c2e8c9162452e5f192bdd92c7f241499c7117e
treec92f9eab86b6630f84e672552b3826e9784696f0
parent22bca6140497780ae729ef7cb5c6490c8c10d1ba
BUG/MINOR: http: error snapshots are wrong if buffer wraps

Commit 81f2fb added support for wrapping buffer captures, but unfortunately
the code used to perform two memcpy() over the same destination, causing a
loss of the start of the buffer rendering some error snapshots unusable.

This bug is present in 1.4 too and must be backported.
src/proto_http.c