Skip to content

Validate event stream header name and value lengths when encoding - #3962

Merged
pulimsr merged 2 commits into
mainfrom
eventstream-header-validation
Oct 21, 2026
Merged

pulimsr merged 2 commits into
mainfrom
eventstream-header-validation

Conversation

@pulimsr

@pulimsr pulimsr commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator

Validate event stream header names (up to 255 bytes) and string and byte-buffer header values (up to 32,767 bytes) when encoding. Headers that exceed these limits now fail the event with an error instead of being dropped.

Check all that applies:

  • Did a review by yourself.
  • Added proper tests to cover this PR. (If tests are not applicable, explain.)
  • Checked if this PR is a breaking (APIs have been changed) change.
  • Checked if this PR will not introduce cross-platform inconsistent behavior.
  • Checked if this PR would require a ReadMe/Wiki update.

Check which platforms you have built SDK on to verify the correctness of this PR.

  • Linux
  • Windows
  • Android
  • MacOS
  • IOS
  • Other Platforms

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@pulimsr
pulimsr requested a review from sbiscigl October 20, 2026 19:42
@pulimsr
pulimsr enabled auto-merge October 21, 2026 14:59
@Madrigal
Madrigal requested review from jbelkins and kai-ion October 21, 2026 15:46
@pulimsr
pulimsr disabled auto-merge October 21, 2026 16:14
@pulimsr
pulimsr added this pull request to the merge queue Oct 21, 2026
Merged via the queue into main with commit 4bdecc4 Oct 21, 2026
4 of 6 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.

3 participants