]> git.kaiwu.me - haproxy.git/commit
[BUG] 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>
Fri, 15 Jan 2010 22:38:27 +0000 (23:38 +0100)
commit43a7e6620b79e0e771dbaf2a60b57c96d9ba60e5
treeaae40caa70bf1414c67d76b7289a206c4645c07f
parenta5aa1c86a55f795dc9d52afe0ba0a2847e4c1e5d
[BUG] 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.
src/buffers.c