]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: spoe: Add support of payload fragmentation in NOTIFY frames
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 19 Jan 2017 09:01:12 +0000 (10:01 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 9 Mar 2017 14:32:55 +0000 (15:32 +0100)
commitf51f5fa56c9eb8924e323482e650d373fd901666
tree17653e5488eee64dc8c639e19afbbe31ba0d593f
parent7aa0b2b0ddc7c98b8abe3f666c12f31a11b17b42
MAJOR: spoe: Add support of payload fragmentation in NOTIFY frames

Now, agents can announce the support for the "fragmentation" capability during
the HELLO handshake. HAProxy will never announce it because fragmented frame
decoding is not implemented yet. But it can send such kind of frames. So, if an
agent supports this capability, payloads exceeding the frame size will be
split. A fragemented payload consists of several frames with the FIN bit clear
and terminated by a single frame with the FIN bit set. All these frames must
share the same STREAM-ID and FRAME-ID.

Note that an unfragemnted payload consists of a single frame with the FIN bit
set. And HELLO and DISCONNECT frames cannot be fragmented. This means that only
NOTIFY frames can transport fragmented payload for now.
src/flt_spoe.c