Skip to content

[Backport 6.x]Aggregate HA proxy line before parsing it (#286) - #287

Merged
andsel merged 1 commit into
logstash-plugins:6.xfrom
andsel:backport_286_6.x
Sep 7, 2026
Merged

[Backport 6.x]Aggregate HA proxy line before parsing it (#286)#287
andsel merged 1 commit into
logstash-plugins:6.xfrom
andsel:backport_286_6.x

Conversation

@andsel

@andsel andsel commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Avoids error that could rise if the TCP stack decides to break the HA Proxy v1 headline before the newline terminator in multiple byte arrays.

Adds an aggregator to collect all the bytes up to the first newline before move on to the decoding part done by DecoderImpl class. This message decoder is added only if proxy setting is enabled.

Avoids error that could rise if the TCP stack decides to break the HA Proxy v1 headline before the newline terminator in multiple byte arrays.

Adds an aggregator to collect all the bytes up to the first newline before move on to the decoding part done by DecoderImpl class. This message decoder is added only if proxy setting is enabled.

Co-authored-by: Cas Donoghue <cas.donoghue@gmail.com>
@andsel andsel self-assigned this Sep 7, 2026
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Changelog and Version Management

No changelog or version changes detected. You can either update them manually or use a comment command to update them automatically on merge:

/pr_prepare release:<patch|minor|major> — bump version + update changelog
/pr_prepare changelog:add — changelog entry only (no version bump)

/pr_prepare release:patch
- Add the changelog entry here
  - (Additional details can be provided in multiple lines, respecting markdown formatting)

Omit the entry line to use the PR title. If multiple commands are posted, the last one wins.

@andsel
andsel marked this pull request as ready for review September 7, 2026 09:35
@andsel
andsel merged commit 86597bc into logstash-plugins:6.x Sep 7, 2026
13 checks passed
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.

1 participant