]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h2: centralize the check for the half-closed(remote) streams
authorWilly Tarreau <w@1wt.eu>
Mon, 30 Oct 2017 11:03:50 +0000 (12:03 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 17:16:19 +0000 (18:16 +0100)
commitf182a9a8b422cbcf430c8890da180f10da421d2f
treea7854dca5b95581a1e34695af698dd132515e79f
parentf65b80dd47da42743b13327e358709eddb0edb73
MINOR: h2: centralize the check for the half-closed(remote) streams

RFC7540#5.1 is pretty clear : "any frame other than WINDOW_UPDATE,
PRIORITY, or RST_STREAM in this state MUST be treated as a connection
error of type STREAM_CLOSED". 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