]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: spoe: arg len encoded in previous frag frame but len changed
authorKevin Zhu <ipandtcp@gmail.com>
Fri, 26 Apr 2019 06:00:01 +0000 (14:00 +0800)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 29 Apr 2019 14:02:05 +0000 (16:02 +0200)
commitf7f54280c8106e92a55243f5d60f8587e79602d1
tree6905736fe41ac8ec0bc9a982c35b43ea64850011
parent1907ccc2f75b78ace1ee4acdfc60d48a76e3decd
BUG/MEDIUM: spoe: arg len encoded in previous frag frame but len changed

Fragmented arg will do fetch at every encode time, each fetch may get
different result if SMP_F_MAY_CHANGE, for example res.payload, but
the length already encoded in first fragment of the frame, that will
cause SPOA decode failed and waste resources.

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