Skip to content

Conversation

@ZYSzys
Copy link
Member

According to rfc8441:

9.1. A New HTTP/2 Setting This document registers an entry in the "HTTP/2 Settings" registry that was established by Section 11.3 of [RFC7540]. Code: 0x8 Name: SETTINGS_ENABLE_CONNECT_PROTOCOL Initial Value: 0 Specification: This document 

The initial value of SETTINGS_ENABLE_CONNECT_PROTOCOL is 0, so added DEFAULT_SETTINGS_ENABLE_CONNECT_PROTOCOL, and we can access this using http2.getDefaultSettings():

>http2.getDefaultSettings()[Object: nullprototype]{headerTableSize: 4096,enablePush: true,initialWindowSize: 65535,maxFrameSize: 16384,maxConcurrentStreams: 4294967295,maxHeaderListSize: 65535,enableConnectProtocol: false}

Refs: rfc8441

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-botnodejs-github-bot added the lib / src Issues and PRs related to general changes in the lib or src directory. label Jan 3, 2020
@ZYSzysZYSzys added the http2 Issues or PRs related to the http2 subsystem. label Jan 3, 2020
@nodejs-github-bot

This comment has been minimized.

@BridgeARBridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jan 3, 2020
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@Trott
Copy link
Member

Trott commented Jan 6, 2020

Landed in 66310c2

@TrottTrott closed this Jan 6, 2020
Trott pushed a commit to Trott/io.js that referenced this pull request Jan 6, 2020
@ZYSzysZYSzys deleted the http2-enable-connect-protocol branch January 6, 2020 05:01
targos pushed a commit that referenced this pull request Jan 6, 2020
@BridgeARBridgeAR mentioned this pull request Jan 7, 2020
targos pushed a commit that referenced this pull request Jan 14, 2020
targos pushed a commit that referenced this pull request Jan 14, 2020
@targostargos mentioned this pull request Jan 15, 2020
BethGriggs pushed a commit that referenced this pull request Feb 6, 2020
@MylesBorinsMylesBorins mentioned this pull request Feb 8, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.http2Issues or PRs related to the http2 subsystem.lib / srcIssues and PRs related to general changes in the lib or src directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@ZYSzys@nodejs-github-bot@Trott@jasnell@cjihrig@BridgeAR