]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: proto-htx: Consider a XFER_LEN message as chunked by default
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 18 Feb 2019 10:35:02 +0000 (11:35 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 18 Feb 2019 15:25:06 +0000 (16:25 +0100)
commit834eee792852bce9611cfb4f921ecb805e5e516b
treed8d8040993a424fd366b2d2a79c50570395ed0ae
parentfd7426726414e4b05bbf4f0bacbd86db1e1dee75
BUG/MINOR: proto-htx: Consider a XFER_LEN message as chunked by default

An HTX message with a known body length is now considered by default as
chunked. It means the header "content-length" must be found to consider it as a
non-chunked message. Before, it was the reverse, the message was considered with
a content length by default. But it is a bug for HTTP/2 messages. There is no
chunked transfer encoding in HTTP/2 but internally messages without content
length are considered as chunked. It eases HTTP/1 <-> HTTP/2 conversions.

This patch must be backported to 1.9.
src/proto_htx.c