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

fix(nano-server): handle utf8 reply issue #514

Merged
merged 2 commits into from
Dec 18, 2022
Merged

fix(nano-server): handle utf8 reply issue #514

merged 2 commits into from
Dec 18, 2022

Conversation

alimd
Copy link
Member

@alimd alimd commented Dec 18, 2022

بالاخره این باگ عوضی رو پیدا کردم 🎉

داستان اینجا بود که...

v8 buffer

String.prototype.length does not account for the encoding that is used to convert the string into bytes.

@alimd alimd added the bugfix Inconsistencies or issues which will cause a problem for users or implementors. label Dec 18, 2022
@alimd alimd added this to the v0.x milestone Dec 18, 2022
@alimd alimd requested a review from njfamirm December 18, 2022 10:33
@alimd alimd self-assigned this Dec 18, 2022
@satafti
Copy link
Contributor

satafti commented Dec 18, 2022 via email

@njfamirm
Copy link
Member

تبریک 👌🤩
خسته نباشید

@alimd
Copy link
Member Author

alimd commented Dec 18, 2022

پول تمیز شد
حالا میتونید ببینی دقیقا مشکل چی بوده و چطور حل شد
جالب اینجاست که با این کار سرعت پاسخ به درخواست‌ها با حجم بالا چندید برابر شد و مصرف رم هم زیر بار زیاد خیلی کمتر میشه!

@alimd alimd merged commit 18fc6e5 into next Dec 18, 2022
@alimd alimd deleted the fix/nano-server branch December 18, 2022 13:36
Copy link
Member

@njfamirm njfamirm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

چقدر جذاب تر شد!

@njfamirm
Copy link
Member

متوجه باگ نمیشم الیته

@github-actions
Copy link

Pull Request closed and locked due to lack of activity.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bugfix Inconsistencies or issues which will cause a problem for users or implementors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants