Uh oh!
There was an error while loading. Please reload this page.
test: [http] throw on arrays for Http2ServerResponse.end - #33146
Conversation
addaleax
commented
Apr 29, 2020
@rexagod Can you explain this one? I’m already getting a type error thrown for the test here, just not the same one. If this is about supporting the same types for the |
Uh oh!
There was an error while loading. Please reload this page.
addaleax
left a comment
There was a problem hiding this comment.
HTTP/1 changes look good to me, but I think the HTTP/2 changes aren”t necessary because HTTP/2 is already doing the right thing here (but correct me if I’m wrong)
rexagod
commented
May 2, 2020
The main objective of this PR was to throw an error when an array is passed, which currently, is not thrown and no error event is emitted for. I'm not sure what you mean by HTTP2 is already doing the right thing here? |
addaleax
commented
May 2, 2020
@rexagod But I’m already getting this error on master with your test: i.e. writing |
Done. It seems my local version was outdated. |
BridgeAR
commented
May 3, 2020
Seems like this needs a test case? |
Uh oh!
There was an error while loading. Please reload this page.
A PR that incorporated my changes was merged recently. So this PR is just for adding the test. |
nodejs-github-bot
commented
May 23, 2020
BridgeAR
commented
May 23, 2020
@rexagod this seem to fail on our CI. Please take another look. |
Refs: nodejs#29829 fixup fixup: add Uint8Array fixup: add Uint8Array to checks fixup: add Uint8Array to checks
Refs: nodejs#29829 PR-URL: nodejs#33146 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
BridgeAR
commented
May 30, 2020
Landed in de35c03 |
Refs: #29829
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes