Skip to content

Fix and add tests for ResponseBuffer compaction#1119

Open
byroot wants to merge 1 commit into
petergoldstein:mainfrom
byroot:revert-compact
Open

Fix and add tests for ResponseBuffer compaction#1119
byroot wants to merge 1 commit into
petergoldstein:mainfrom
byroot:revert-compact

Conversation

@byroot

@byroot byroot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Fix: #1116

Removing the constant was a mistake, it was indeed in use just not convered.

I added some tests specifically for it now, and fixed the logic as well as improved the buffer shrinking method using String#bytesplice which should translate into a memmove.

Fix: petergoldstein#1116

Removing the constant was a mistake, it was indeed in use
just not convered.

I added some tests specifically for it now, and fixed the
logic as well as improved the buffer shrinking method using
`String#bytesplice` which should translate into a `memmove`.
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