]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: http: hdr_cnt would not count any header when called without name
authorWilly Tarreau <w@1wt.eu>
Wed, 1 Apr 2015 17:16:09 +0000 (19:16 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 1 Apr 2015 17:16:09 +0000 (19:16 +0200)
commit601a4d1741100d7a861b6d9b66561335c9911277
treeec80388b852f7055e828a3dfe9e8f752ff3f1b77
parent418b8c0c41e8291622bd6c3eeac06e69c0217429
BUG/MEDIUM: http: hdr_cnt would not count any header when called without name

It's documented that these sample fetch functions should count all headers
and/or all values when called with no name but in practice it's not what is
being done as a missing name causes an immediate return and an absence of
result.

This bug is present in 1.5 as well and must be backported.
src/proto_http.c