MINOR: spoe: Use the sample context to pass frag_ctx info during encoding
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 26 Apr 2019 12:30:15 +0000 (14:30 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 29 Apr 2019 14:02:05 +0000 (16:02 +0200)
commit85db3212b87b33f1a39a688546f4f53a5c4ba4da
treef0ce8d43f9f6c01b918325c2ff5672d6a35170d2
parentf7f54280c8106e92a55243f5d60f8587e79602d1
MINOR: spoe: Use the sample context to pass frag_ctx info during encoding

This simplifies the API and hide the details in the sample. This way, only
string and binary are aware of these info, because other types cannot be
partially encoded.

This patch may be backported to 1.9 and 1.8.
include/proto/spoe.h
src/flt_spoe.c