CLEANUP: mux-h2: Remove the h1 parser state from the h2 stream
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 3 Nov 2020 17:25:52 +0000 (18:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 4 Nov 2020 15:47:37 +0000 (16:47 +0100)
commit847abf36494ffa2f884c77ff5351286a617578d0
treea545dddb66cfa15f25e0e87ba2180fe59f7427b9
parentd4d04da3c92ecbff7dd6f135a31b57182ad7ede4
CLEANUP: mux-h2: Remove the h1 parser state from the h2 stream

Since the h2 multiplexer no longer relies on the legacy HTTP representation, and
uses exclusively the HTX, the H1 parser state (h1m) is no longer used by the h2
streams. Thus it can be removed.

This patch may be backported as far as 2.1.

(cherry picked from commit fafd1b0a5b3b6ee0c7d7dd288629c992fc63ef10)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit aa3c7001cb32cd9c5bb7b5258459bb971e956438)
[wt: include file is in common/h1.h in 2.1]
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/mux_h2.c