commit | f182a9a8b422cbcf430c8890da180f10da421d2f | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Oct 30 12:03:50 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 31 18:16:19 2017 +0100 |
tree | a7854dca5b95581a1e34695af698dd132515e79f | |
parent | f65b80dd47da42743b13327e358709eddb0edb73 [diff] |
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.