Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avoid memcpy for unfragmented messages #9

Merged
merged 2 commits into from
Jul 20, 2023
Merged

Conversation

vilgotf
Copy link
Collaborator

@vilgotf vilgotf commented Jul 20, 2023

No description provided.

@vilgotf vilgotf changed the base branch from fix-autobahn to main July 20, 2023 18:37
@vilgotf vilgotf marked this pull request as ready for review July 20, 2023 20:04
Bypasses the `partial_payload` buffer. Technically this now allows for
receiving messages where the frame limit < message limit, but that is
assumed to be a user bug.
By validating unfragmented text frames in the `Decoder`. As an
optimization, this tries to reuse partially validated text frames, if
enabled.
@vilgotf vilgotf merged commit 618c9cd into main Jul 20, 2023
14 checks passed
@vilgotf vilgotf deleted the vilgotf/single-frame-noop branch July 20, 2023 20:15
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