Skip to content

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

Closed
rexagod wants to merge 2 commits into
nodejs:v12.x-stagingfrom
rexagod:backport-33155-to-v12.x
Closed

[v12.x backport] http: don't throw on Uint8Arrays for http.ServerResponse#write#33488
rexagod wants to merge 2 commits into
nodejs:v12.x-stagingfrom
rexagod:backport-33155-to-v12.x

Conversation

@rexagod

@rexagod rexagod commented May 20, 2020

Copy link
Copy Markdown
Member

Don't throw errors on Uint8Arrays and added test for all
valid types.

PR-URL: #33155
Fixes: #33379
Refs: #29829
Reviewed-By: Robert Nagy ronagy@icloud.com
Reviewed-By: Anna Henningsen anna@addaleax.net
Reviewed-By: Zeyu Yang himself65@outlook.com
Reviewed-By: James M Snell jasnell@gmail.com

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 and 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 <ronagy@icloud.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@rexagod
rexagod force-pushed the backport-33155-to-v12.x branch from 15cd4f6 to d2a920c Compare May 20, 2020 22:12
@rexagod

rexagod commented May 20, 2020

Copy link
Copy Markdown
Member Author

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
Copy Markdown
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
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 <ronagy@icloud.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@MylesBorins

Copy link
Copy Markdown
Contributor

landed in 8069f8d

jimmy54 pushed a commit to jimmy54/nodejs-mobile that referenced this pull request Dec 31, 2025
Don't throw errors on Uint8Arrays and added test for all
valid types.

Backport-PR-URL: nodejs/node#33488
PR-URL: nodejs/node#33155
Fixes: nodejs/node#33379
Refs: nodejs/node#29829
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

http Issues and PRs related to the http subsystem.

7 participants