backport: http: fix connection upgrade checks#9681
backport: http: fix connection upgrade checks#9681mscdex wants to merge 1 commit intonodejs:v4.x-stagingfrom
Conversation
This commit fixes connection upgrade checks, specifically when headers are passed as an array instead of a plain object to http.request() Fixes: nodejs#8235 PR-URL: nodejs#8238 Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins
left a comment
There was a problem hiding this comment.
rubber stamp LGTM if CI is green
|
I'm not sure what's up with the freebsd11 node failure, it looks like it has an old compiler installed or something? OS X tty test failure is unrelated. |
|
it hasn't ever been working on v4 just been rolling with it On Fri, Nov 18, 2016, 3:38 PM Brian White notifications@github.com wrote:
|
|
looking good |
Checklist
make -j8 test(UNIX), orvcbuild test nosign(Windows) passesAffected core subsystem(s)
Description of change
This commit fixes connection upgrade checks, specifically when headers are passed as an array instead of a plain object to
http.request().This is a backport of #8238.
CI: https://ci.nodejs.org/job/node-test-pull-request/4894/