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

[v12.x backport] http: don't throw on Uint8Arrays for http.ServerResponse#write #33488

Closed
wants to merge 2 commits into from

Conversation

rexagod
Copy link
Member

@rexagod rexagod commented May 20, 2020

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), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added http Issues or PRs related to the http subsystem. v12.x labels May 20, 2020
Don't throw errors on Uint8Arrays and added test for all
valid types.

Backport-PR-URL: nodejs#33488
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]>
@rexagod rexagod force-pushed the backport-33155-to-v12.x branch from 15cd4f6 to d2a920c Compare May 20, 2020 22:12
@rexagod
Copy link
Member Author

rexagod commented May 20, 2020

Backport-PR-URL specified in d2a920c (I was unable to trigger builds since I do not have the permission to do so, so I'm specifying the commit here, which is the same that that was force-pushed above).

@BridgeAR
Copy link
Member

Ideally, all commits are backported directly from the following major version. I suggest to wait with this until the backport for v14 landed and see how and if there's need for a manual backport afterwards.

@codebytere codebytere force-pushed the v12.x-staging branch 2 times, most recently from b64963e to 3b1d9b3 Compare July 21, 2020 18:34
@nodejs-github-bot
Copy link
Collaborator

MylesBorins pushed a commit that referenced this pull request Aug 18, 2020
Don't throw errors on Uint8Arrays and added test for all
valid types.

Backport-PR-URL: #33488
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]>
@MylesBorins
Copy link
Contributor

landed in 8069f8d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
http Issues or PRs related to the http subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants