Skip to content
This repository was archived by the owner on Jul 6, 2018. It is now read-only.

http2: allow specifying servername in options#127

Closed
jmuk wants to merge 1 commit intonodejs:masterfrom
jmuk:servername
Closed

http2: allow specifying servername in options#127
jmuk wants to merge 1 commit intonodejs:masterfrom
jmuk:servername

Conversation

@jmuk
Copy link
Copy Markdown
Contributor

@jmuk jmuk commented May 16, 2017

I've noticed that it always use the host name for the SNI parameter, but I think it's better to allow customizing through the options.

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
Affected core subsystem(s)

http2

jasnell

This comment was marked as off-topic.

@jasnell
Copy link
Copy Markdown
Member

jasnell commented May 16, 2017

One thing to think about.. is there anything we need to do on the server side to make using SNI easier? (I honestly don't know)

@jmuk
Copy link
Copy Markdown
Contributor Author

jmuk commented May 16, 2017

I actually don't know about the server-side SNI parameter, but it looks like to allow customizing the hostname through addContext (https://nodejs.org/dist/latest-v6.x/docs/api/tls.html#tls_server_addcontext_hostname_context).

jasnell pushed a commit that referenced this pull request May 17, 2017
PR-URL: #127
Reviewed-By: James M Snell <jasnell@gmail.com>
@jasnell
Copy link
Copy Markdown
Member

jasnell commented May 17, 2017

Landed

@jasnell jasnell closed this May 17, 2017
jasnell pushed a commit that referenced this pull request May 19, 2017
PR-URL: #127
Reviewed-By: James M Snell <jasnell@gmail.com>
jasnell pushed a commit that referenced this pull request May 31, 2017
PR-URL: #127
Reviewed-By: James M Snell <jasnell@gmail.com>
jasnell pushed a commit to jasnell/http2-1 that referenced this pull request Jun 22, 2017
PR-URL: nodejs#127
Reviewed-By: James M Snell <jasnell@gmail.com>
jasnell pushed a commit to jasnell/http2-1 that referenced this pull request Jul 10, 2017
PR-URL: nodejs#127
Reviewed-By: James M Snell <jasnell@gmail.com>
jasnell pushed a commit to jasnell/http2-1 that referenced this pull request Jul 14, 2017
PR-URL: nodejs#127
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants