FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

http: fix connection upgrade checks by mscdex · Pull Request #8238 · nodejs/node · GitHub

/ node Public

http: fix connection upgrade checks - #8238

Merged
mscdex merged 1 commit into
nodejs:masterfrom
mscdex:http-add-headers-guard
Aug 26, 2016
Merged

http: fix connection upgrade checks#8238
mscdex merged 1 commit into
nodejs:masterfrom
mscdex:http-add-headers-guard

Conversation

mscdex commented Aug 23, 2016

Copy link
Copy Markdown
Contributor
Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)
  • http
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().

Fixes: #8235

mscdex added the http Issues or PRs related to the http subsystem. label Aug 23, 2016

mscdex commented Aug 23, 2016

Copy link
Copy Markdown
Contributor Author

/cc @nodejs/http

mscdex commented Aug 23, 2016

Copy link
Copy Markdown
Contributor Author

mscdex commented Aug 23, 2016

Copy link
Copy Markdown
Contributor Author

CI is green except for an unrelated failure on AIX.

jasnell commented Aug 23, 2016

Copy link
Copy Markdown
Member

LGTM

mscdex force-pushed the http-add-headers-guard branch from fd38f3a to f216ecb Compare August 26, 2016 14:16
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>
mscdex force-pushed the http-add-headers-guard branch from f216ecb to 1050594 Compare August 26, 2016 14:17
mscdex merged commit 1050594 into nodejs:master Aug 26, 2016
mscdex deleted the http-add-headers-guard branch August 26, 2016 14:19
Fishrock123 mentioned this pull request Sep 6, 2016
Fishrock123 pushed a commit to Fishrock123/node that referenced this pull request Sep 8, 2016
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>
Fishrock123 pushed a commit that referenced this pull request Sep 9, 2016
This commit fixes connection upgrade checks, specifically when headers
are passed as an array instead of a plain object to http.request()

Fixes: #8235
PR-URL: #8238
Reviewed-By: James M Snell <jasnell@gmail.com>

Copy link
Copy Markdown
Contributor

@mscdex this does not land cleanly on v4.x, but we definitely should backport as I have confirmed it is broken on v4.x

Would you be able to backport?

MylesBorins added this to the v4.6.2 milestone Oct 24, 2016
MylesBorins modified the milestones: v4.7.0, v4.6.2 Oct 26, 2016

Copy link
Copy Markdown
Contributor

ping @mscdex

mscdex added a commit to mscdex/io.js that referenced this pull request Nov 18, 2016
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>

mscdex commented Nov 18, 2016

Copy link
Copy Markdown
Contributor Author

@thealphanerd #9681

MylesBorins pushed a commit that referenced this pull request Nov 22, 2016
This commit fixes connection upgrade checks, specifically when headers
are passed as an array instead of a plain object to http.request()

Fixes: #8235
PR-URL: #8238
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins removed this from the 4.7.0 milestone Nov 22, 2016
MylesBorins mentioned this pull request Nov 22, 2016
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

error http request at headers is array

3 participants


Back | FazBrowse Home | New Git URL