]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[CLEANUP] buffers: remove remains of wrong obsolete length check
authorWilly Tarreau <w@1wt.eu>
Fri, 15 Jan 2010 22:38:27 +0000 (23:38 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 28 Jan 2010 22:16:39 +0000 (23:16 +0100)
commitb23d838c30e150cabadea73a96431f0d581b70e3
tree8dbaf2ffac5dcb9bdde8fce7c820166c6fe0f2ec
parent4623b0e5c45b5e3ee9268ce089f50e86639e8f00
[CLEANUP] buffers: remove remains of wrong obsolete length check

A check was performed in buffer_replace2() to compare buffer
length with its read pointer. This has been wrong for a long
time, though it only has an impact when dealing with keep-alive
requests/responses. In theory this should be backported but
the check has no impact without keep-alive.
(cherry picked from commit 43a7e6620b79e0e771dbaf2a60b57c96d9ba60e5)
src/buffers.c