]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: h2: always parse and deduplicate the content-length header
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Jan 2019 10:33:02 +0000 (11:33 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Jan 2019 18:07:26 +0000 (19:07 +0100)
commit4790f7c90743ce52021373c5567d78c32c42d972
tree5e16c27e7944a5842c4233de9dee667497ea160b
parentf7a259d46f84ade7222debbce937d5d94bc568f4
MEDIUM: h2: always parse and deduplicate the content-length header

The header used to be parsed only in HTX but not in legacy. And even in
HTX mode, the value was dropped. Let's always parse it and report the
parsed value back so that we'll be able to store it in the streams.
include/common/h2.h
src/h2.c
src/mux_h2.c