commit | 9c84d8299a733bf9bb979cd147e9c566f9e1ae67 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jan 30 15:09:21 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Jan 30 19:37:20 2019 +0100 |
tree | 410b8975c98d022b15e4cf35996e77f5de8a811b | |
parent | 08bb1d61099e7f12aea17a03c608e51002442ed7 [diff] |
MINOR: h2: add a generic frame checker The new function h2_frame_check() checks the protocol limits for the received frame (length, ID, direction) and returns a verdict made of a connection error code. The purpose is to be able to validate any frame regardless of the state and the ability to call the frame handler, and to emit a GOAWAY early in this case.