commit | c1fbbd4a3dd480b4eebbd8b32ca6cdf08791477a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Jun 24 17:27:02 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jun 24 17:29:53 2014 +0200 |
tree | 23f843fc2fdb7b7a407d80826d517f916f4ebcd4 | |
parent | 4dfb7956c8541c1be4357a27f232570fb6f0d401 [diff] |
BUG/MEDIUM: http: fetch "base" is not compatible with set-header The sample fetch function "base" makes use of the trash which is also used by set-header/add-header etc... everything which builds a formated line. So we end up with some junk in the header if base is in use. Let's fix this as all other fetches by using a trash chunk instead. This bug was reported by Baptiste Assmann, and also affects 1.5. (cherry picked from commit 3caf2afabe89fb0ef0886cd1d8ea99ef21ec3491)