]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: h2: properly check and deduplicate the content-length header in HTX
authorWilly Tarreau <w@1wt.eu>
Wed, 19 Dec 2018 12:08:08 +0000 (13:08 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 19 Dec 2018 12:08:08 +0000 (13:08 +0100)
commitbeefaee4f53ccbe7610e81cf81c97042d7272a4d
tree9c1bb48e7f4836f886d4ddd62bf1621633b2792c
parent78f5ff86da1f60c71f3bd2ddc4eaed838aa76ed5
MEDIUM: h2: properly check and deduplicate the content-length header in HTX

When producing an HTX message, we can't rely on the next-level H1 parser
to check and deduplicate the content-length header, so we have to do it
while parsing a message. The algorithm is the exact same as used for H1
messages.
include/common/h2.h
src/h2.c