-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
[v14.x backport] http: don't throw on Uint8Array
s for http.ServerResponse#write
#33490
Conversation
Don't throw errors on Uint8Arrays and added test for all valid types. Backport-PR-URL: nodejs#33490 PR-URL: nodejs#33155 Fixes: nodejs#33379 Refs: nodejs#29829 Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Zeyu Yang <[email protected]> Reviewed-By: James M Snell <[email protected]>
Uint8Array
s for http.ServerResponse#write
Uint8Array
s for http.ServerResponse#write
Uint8Array
s for http.ServerResponse#write
Uint8Array
s for http.ServerResponse#write
e45a84b
to
4732f15
Compare
|
@nodejs/http @ronag PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Contains unrelated semver major changes. Please remove those.
Made similar changes for v12.x backport as well. |
Landed in feb6e1f |
Don't throw errors on Uint8Arrays and added test for all valid types. Backport-PR-URL: #33490 PR-URL: #33155 Fixes: #33379 Refs: #29829 Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Zeyu Yang <[email protected]> Reviewed-By: James M Snell <[email protected]>
Don't throw errors on Uint8Arrays and added test for all valid types. Backport-PR-URL: #33490 PR-URL: #33155 Fixes: #33379 Refs: #29829 Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Zeyu Yang <[email protected]> Reviewed-By: James M Snell <[email protected]>
Don't throw errors on Uint8Arrays and added test for all
valid types.
PR-URL: #33155
Fixes: #33379
Refs: #29829
Reviewed-By: Robert Nagy [email protected]
Reviewed-By: Anna Henningsen [email protected]
Reviewed-By: Zeyu Yang [email protected]
Reviewed-By: James M Snell [email protected]
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes