MINOR: spoe: Improve implementation of the payload fragmentation
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 17 Feb 2017 14:18:35 +0000 (15:18 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 9 Mar 2017 14:32:55 +0000 (15:32 +0100)
commitf032c3ec0995bac7d0c59b49edb67748722f5b31
treec5453991871fef31fb763cd09d168917f30d7ec0
parent4ff3e574ac1f5a48edf9e193ea35525ed4ff8995
MINOR: spoe: Improve implementation of the payload fragmentation

Now, when a payload is fragmented, the first frame must define the frame type
and the followings must use the special type SPOE_FRM_T_UNSET. This way, it is
easy to know if a fragment is the first one or not. Of course, all frames must
still share the same stream-id and frame-id.

Update SPOA example accordingly.
contrib/spoa_example/spoa.c
include/types/spoe.h
src/flt_spoe.c