]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: h2: detect the presence of the first settings frame
authorWilly Tarreau <w@1wt.eu>
Tue, 10 Oct 2017 13:16:55 +0000 (15:16 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 17:16:18 +0000 (18:16 +0100)
commit4c3690bf960e3e4274e1689b7d4faebbf6cf6e9c
treef3385522d55a334c12e328d3d3ca9cdae9343f3f
parentbe5b715fb2c5ff92448f9481d18cfee000cef6c9
MEDIUM: h2: detect the presence of the first settings frame

Instead of doing a special processing of the first SETTINGS frame, we
simply parse its header, check that it matches the expected frame type
and flags (ie no ACK), and switch to FRAME_P to parse it as any regular
frame. The regular frame parser will take care of decoding it.
src/mux_h2.c