Skip to content

respect inbound message protocol violations - #17

Merged
kvc0 merged 1 commit into
mainfrom
codec
Aug 17, 2026
Merged

respect inbound message protocol violations#17
kvc0 merged 1 commit into
mainfrom
codec

Conversation

@kvc0

@kvc0 kvc0 commented Aug 17, 2026

Copy link
Copy Markdown
Owner

A protocol's decode() returns errors that need to be handled - like a disconnect or a message size too large state. This was lost in a previous refactor. This fix restores the buffer state handling, and adds a regression test for the specific failure that brought this fix up.

A protocol's decode() returns errors that need to be handled - like
a disconnect or a message size too large state. This was lost in a
previous refactor. This fix restores the buffer state handling, and
adds a regression test for the specific failure that brought this
fix up.
@kvc0
kvc0 merged commit 934b68c into main Aug 17, 2026
1 check passed
@kvc0
kvc0 deleted the codec branch August 17, 2026 23:59
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