Skip to content

http: fix batch-lines() in case only batch-bytes() is set#5265

Merged
HofiOne merged 1 commit intosyslog-ng:developfrom
HofiOne:backport/fix-batch-lines-in-case-batch-bytes-is-set
Mar 20, 2025
Merged

http: fix batch-lines() in case only batch-bytes() is set#5265
HofiOne merged 1 commit intosyslog-ng:developfrom
HofiOne:backport/fix-batch-lines-in-case-batch-bytes-is-set

Conversation

@HofiOne
Copy link
Collaborator

@HofiOne HofiOne commented Mar 17, 2025

In case only batch-bytes() is set, the logthrdestdrv core will flush the batch, as it
will deduce that no batching is needed. Fix that.

PS: we might need a similar fix in gRPC related drivers.

Backport of 403 by @bazsi

@HofiOne HofiOne merged commit b93e206 into syslog-ng:develop Mar 20, 2025
39 of 40 checks passed
@HofiOne HofiOne deleted the backport/fix-batch-lines-in-case-batch-bytes-is-set branch March 20, 2025 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants