commit | 5aea838d9de422666081436f0b82779c1858fe95 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Jan 13 19:07:23 2015 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Jan 14 18:30:19 2015 +0100 |
tree | a8ebb8728b2a8ab6bf20ba019cf6fe7ce5fd08c6 | |
parent | 4f43511483955690331c85a52ed013fe9dab407e [diff] |
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. (cherry picked from commit bb3f994f1a379289534c4ccf0f790df7b69d2611)