]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h2: Reset padlen when several frames are demux
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 18 Jun 2019 10:22:38 +0000 (12:22 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 19 Jun 2019 08:06:31 +0000 (10:06 +0200)
commitdd2a5620d594523cd515a629e105a9a2b64345bb
tree4002739a1b3a2f2e385cb0ac67421b9dc9d538bc
parent3e2638ee04407a1d9e9376f0c518f67fca7deaa4
BUG/MEDIUM: mux-h2: Reset padlen when several frames are demux

In the function h2_process_demux(), if several frames are parsed, the padding
length must be reset between each frame. Otherwise we may wrongly think a frame
has a padding block because the previous one was padded.

This patch must be backported to 2.0 and 1.9.
src/mux_h2.c