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

Native: Copy slice data into Buffer when receiving binary metadata #1610

Merged

Conversation

murgatroid99
Copy link
Member

This should fix #1407, or at least the reproduction demonstrated in #1407 (comment). This change is needed because of change in Node 14 that prohibits multiple Buffer objects from pointing to the same underlying memory. That makes the previous zero-copy function error-prone in some situations.

@hugebdu
Copy link
Contributor

hugebdu commented Oct 30, 2020

@murgatroid99 thank you Michael
will you be able to release this fix?

@hugebdu
Copy link
Contributor

hugebdu commented Nov 5, 2020

@murgatroid99 no way? :(

@murgatroid99
Copy link
Member Author

Sorry, I'm working on the release in #1615. There have been some build issues.

@murgatroid99
Copy link
Member Author

I have published version 1.24.4, which includes this change.

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