We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4788161 commit f2517a1Copy full SHA for f2517a1
src/multiline/flb_ml_rule.c
@@ -381,6 +381,9 @@ int flb_ml_rule_process(struct flb_ml_parser *ml_parser,
381
}
382
else {
383
ret = flb_ml_group_cat(group, buf_data, buf_size);
384
+ if (ret < 0) {
385
+ return ret;
386
+ }
387
if (ret == FLB_MULTILINE_TRUNCATED) {
388
/* Buffer is full. Flush immediately to send the truncated record. */
389
flb_ml_flush_stream_group(ml_parser, mst, group, FLB_FALSE);
@@ -411,6 +414,9 @@ int flb_ml_rule_process(struct flb_ml_parser *ml_parser,
411
414
412
415
/* concatenate the data */
413
416
417
418
419
420
421
return ret;
422
0 commit comments