]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: channel: compare to_forward with buf->i, not buf->size
authorWilly Tarreau <w@1wt.eu>
Tue, 13 Jan 2015 18:07:23 +0000 (19:07 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 14 Jan 2015 12:50:24 +0000 (13:50 +0100)
commitbb3f994f1a379289534c4ccf0f790df7b69d2611
tree7998bcc213a73e3e5ae4195a5b9d676f88937769
parent0428a146c0ee776f7c89359e8aed0d755ffbad07
BUG/MINOR: channel: compare to_forward with buf->i, not buf->size

We know that all incoming data are going to be purged if to_forward
is greater than them, not only if greater than the buffer size. This
buf has no direct impact on this version, but it participates to some
bugs affecting http-send-name-header since 1.4. This fix will have to
be backported down to 1.4 albeit in a different form.
include/proto/channel.h