]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-h2: make empty HEADERS frame return a connection error
authorWilly Tarreau <w@1wt.eu>
Sun, 23 Dec 2018 07:13:59 +0000 (08:13 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 23 Dec 2018 09:02:38 +0000 (10:02 +0100)
commitc4ea04c2b626446001d512c28e7ae1a5ccb4a1f0
tree3b96fceb33276a08be62cedb81fdd324b553aa0d
parent9832a37b169e068ad620c1ae36ae2bf4707e068f
BUG/MINOR: mux-h2: make empty HEADERS frame return a connection error

We were returning a stream error of type PROTOCOL_ERROR on empty HEADERS
frames, but RFC7540#4.2 stipulates that we should instead return a
connection error of type FRAME_SIZE_ERROR.

This may be backported to 1.9 and 1.8 though it's unlikely to have any
real life effect.
src/mux_h2.c