Skip to content

Accept frozen input chunks - #104

Closed
OskarEichler wants to merge 1 commit into
faye:mainfrom
OskarEichler:audit/accept-frozen-input-chunks
Closed

Accept frozen input chunks#104
OskarEichler wants to merge 1 commit into
faye:mainfrom
OskarEichler:audit/accept-frozen-input-chunks

Conversation

@OskarEichler

Copy link
Copy Markdown

The public parse path force-encodes caller input in place, so a frozen frame raises FrozenError. Duplicate frozen chunks before encoding while keeping the allocation-free mutable-string path. The full 196-example suite passes on Ruby 4.0.6 and Ruby 3.2.11, as do the cumulative protocol model and native builds.

@OskarEichler

Copy link
Copy Markdown
Author

Closing this because the changes were produced with assistance from an LLM agent, which the Faye project does not accept. Sorry for the noise.

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