]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: spoe: Return an error if nothing is encoded for fragmented messages
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 10 Apr 2019 12:21:51 +0000 (14:21 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 12 Apr 2019 14:38:54 +0000 (16:38 +0200)
commita715ea82eacf4ccf7f447bf4dd4111cc29fe171e
tree6fcaf7f5e9af0a14b74b893109da7da5a6075bc6
parent3e86cec05ec9cf848abd8f9a79928410874b778d
BUG/MEDIUM: spoe: Return an error if nothing is encoded for fragmented messages

If the maximum frame size is very small with a large message or argument name,
it is possible to be unable to encode anything. In such case, it is important to
stop processing returning an error otherwise we will retry in loop to encode the
message, failing each time because of the too small frame size.

This patch must be backported to 1.9 and 1.8.
src/flt_spoe.c