commit | 54f46e53dddf465713218fdbe342a4cb7d806ae1 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jan 30 15:11:03 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Jan 30 19:37:20 2019 +0100 |
tree | 0207945c87df509d8e7389730366b894b92e1077 | |
parent | 9c84d8299a733bf9bb979cd147e9c566f9e1ae67 [diff] |
MEDIUM: mux-h2: check the frame validity before considering the stream state There are some uneasy situation where it's difficult to validate a frame's format without being in an appropriate state. This patch makes sure that each frame passes through h2_frame_check() before being checked in the context of the stream's state. This makes sure we can always return a GOAWAY for protocol violations even if we can't process the frame.