]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h2: Set HTX extra value when possible
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 18 Feb 2019 15:04:35 +0000 (16:04 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 19 Feb 2019 15:26:14 +0000 (16:26 +0100)
commiteaf0d2a9367c418745b788a1b9a3ee8b85157b7a
tree4792f37a94e511c0c75fff2f33bd58ea23ca6897
parent0b46548a6829f229441c4875c61c05c72771bdec
MINOR: mux-h2: Set HTX extra value when possible

For now, this can be only done when a content-length is specified. In fact, it
is the same value than h2s->body_len, the remaining body length according to
content-length. Setting this field allows the fast forwarding at the channel
layer, improving significantly data transfer for big objects.

This patch may be backported to 1.9.
src/mux_h2.c