]> git.kaiwu.me - haproxy.git/commit
MINOR: h2: centralize the check for the idle streams
authorWilly Tarreau <w@1wt.eu>
Mon, 30 Oct 2017 10:46:49 +0000 (11:46 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 17:16:19 +0000 (18:16 +0100)
commitf65b80dd47da42743b13327e358709eddb0edb73
tree8188c644db5075f78279f99bbc50513b5f292e34
parente96b0922e9b26260041fda7acc108a4ec901ef0a
MINOR: h2: centralize the check for the idle streams

RFC7540#5.1 is pretty clear : "any frame other than HEADERS or PRIORITY
in this state MUST be treated as a connection error". Instead of dealing
with this for each and every frame type, let's do it once for all in the
main demux loop.
src/mux_h2.c