commit | bcd9101a6652856d2db30b254906a2c5eb1bb20a | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Tue Nov 28 11:33:02 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Nov 28 12:06:06 2017 +0100 |
tree | 7ac97938b4c6a6ebc8cef53f23783b7866ad55df | |
parent | c3cd35f96cbb6739dace9906448c5a68f554d96e [diff] |
BUG/MEDIUM: cache: bad computation of the remaining size The cache was not setting the hdrs_len to zero when we are called in the http_forward_data with headers + body. The consequence is to always try to store a size - the size of headers, during the calls to http_forward_data even when it has already forwarded the headers. Thanks to Cyril Bonté for reporting this bug. Must be backported to 1.8.