BUG/MINOR: mux-h2: make sure response HEADERS are not received in other states than...
authorWilly Tarreau <w@1wt.eu>
Wed, 30 Jan 2019 15:55:48 +0000 (16:55 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Jan 2019 18:37:14 +0000 (19:37 +0100)
commit08bb1d61099e7f12aea17a03c608e51002442ed7
tree0170a03ec63a0534a34ceaf6633a4573caa1eb09
parent8d9ac3ed8b02c98c42f87a21a387c5d6446d834e
BUG/MINOR: mux-h2: make sure response HEADERS are not received in other states than OPEN and HLOC

RFC7540#5.1 states that these are the only states allowing any frame
type. For response HEADERS frames, we cannot accept that they are
delivered on idle streams of course, so we're left with these two
states only. It is important to test this so that we can remove the
generic CLOSE_STREAM test for such frames in the main loop.

This must be backported to 1.9 (1.8 doesn't have response HEADERS).
src/mux_h2.c