BUG/MINOR: syslog: Request for more data if message was not fully received
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 16 Mar 2023 13:27:29 +0000 (14:27 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 24 Mar 2023 08:24:03 +0000 (09:24 +0100)
commit3aeb36681ca5925cbb9b4a065671d7740093a9a8
treee9ee62563f4edfc9d093f9d42ce50e41c462884d
parentabbb5ad1f5c05d062fe73cbabe9c11e6cc09afdb
BUG/MINOR: syslog: Request for more data if message was not fully received

In the syslog applet, when a message was not fully received, we must request
for more data by calling appctx_need_more_data() and not by setting
CF_READ_DONTWAIT flag on the request channel. Indeed, this flag is only used
to only try a read at once.

This patch could be backported as far as 2.4. On 2.5 and 2.4,
applet_need_more_data() must be replaced by si_cant_get().
src/log.c