forked from nodejs/node
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http2: omit server name when HTTP2 host is IP address
Fixes: nodejs#56189
- Loading branch information
0 parents
commit 3370b04
Showing
42,497 changed files
with
13,502,938 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
--- | ||
Language: Cpp | ||
# BasedOnStyle: Google | ||
AccessModifierOffset: -1 | ||
AlignAfterOpenBracket: Align | ||
AlignConsecutiveAssignments: false | ||
AlignConsecutiveDeclarations: false | ||
AlignEscapedNewlines: Right | ||
AlignOperands: true | ||
AlignTrailingComments: true | ||
AllowAllParametersOfDeclarationOnNextLine: true | ||
AllowShortBlocksOnASingleLine: false | ||
AllowShortCaseLabelsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: Inline | ||
AllowShortIfStatementsOnASingleLine: true | ||
AllowShortLoopsOnASingleLine: true | ||
AlwaysBreakAfterDefinitionReturnType: None | ||
AlwaysBreakAfterReturnType: None | ||
AlwaysBreakBeforeMultilineStrings: false | ||
AlwaysBreakTemplateDeclarations: true | ||
BinPackArguments: false | ||
BinPackParameters: false | ||
BraceWrapping: | ||
AfterClass: false | ||
AfterControlStatement: false | ||
AfterEnum: false | ||
AfterFunction: false | ||
AfterNamespace: false | ||
AfterObjCDeclaration: false | ||
AfterStruct: false | ||
AfterUnion: false | ||
AfterExternBlock: false | ||
BeforeCatch: false | ||
BeforeElse: false | ||
IndentBraces: false | ||
SplitEmptyFunction: true | ||
SplitEmptyRecord: true | ||
SplitEmptyNamespace: true | ||
BreakBeforeBinaryOperators: None | ||
BreakBeforeBraces: Attach | ||
BreakBeforeInheritanceComma: false | ||
BreakBeforeTernaryOperators: true | ||
BreakConstructorInitializersBeforeComma: false | ||
BreakConstructorInitializers: BeforeColon | ||
BreakAfterJavaFieldAnnotations: false | ||
BreakStringLiterals: true | ||
ColumnLimit: 80 | ||
CommentPragmas: '^ IWYU pragma:' | ||
CompactNamespaces: false | ||
ConstructorInitializerAllOnOneLineOrOnePerLine: true | ||
ConstructorInitializerIndentWidth: 4 | ||
ContinuationIndentWidth: 4 | ||
Cpp11BracedListStyle: true | ||
DerivePointerAlignment: false | ||
DisableFormat: false | ||
ExperimentalAutoDetectBinPacking: false | ||
FixNamespaceComments: true | ||
ForEachMacros: | ||
- foreach | ||
- Q_FOREACH | ||
- BOOST_FOREACH | ||
IncludeBlocks: Preserve | ||
IncludeCategories: | ||
- Regex: '^<ext/.*\.h>' | ||
Priority: 2 | ||
- Regex: '^<.*\.h>' | ||
Priority: 1 | ||
- Regex: '^<.*' | ||
Priority: 2 | ||
- Regex: '.*' | ||
Priority: 3 | ||
IncludeIsMainRegex: '([-_](test|unittest))?$' | ||
IndentCaseLabels: true | ||
IndentPPDirectives: None | ||
IndentWidth: 2 | ||
IndentWrappedFunctionNames: false | ||
JavaScriptQuotes: Leave | ||
JavaScriptWrapImports: true | ||
KeepEmptyLinesAtTheStartOfBlocks: false | ||
MacroBlockBegin: '' | ||
MacroBlockEnd: '' | ||
MaxEmptyLinesToKeep: 1 | ||
NamespaceIndentation: None | ||
ObjCBlockIndentWidth: 2 | ||
ObjCSpaceAfterProperty: false | ||
ObjCSpaceBeforeProtocolList: false | ||
PenaltyBreakAssignment: 2 | ||
PenaltyBreakBeforeFirstCallParameter: 1 | ||
PenaltyBreakComment: 300 | ||
PenaltyBreakFirstLessLess: 120 | ||
PenaltyBreakString: 1000 | ||
PenaltyExcessCharacter: 1000000 | ||
PenaltyReturnTypeOnItsOwnLine: 200 | ||
PointerAlignment: Left | ||
ReflowComments: true | ||
SortIncludes: true | ||
SortUsingDeclarations: true | ||
SpaceAfterCStyleCast: false | ||
SpaceAfterTemplateKeyword: true | ||
SpaceBeforeAssignmentOperators: true | ||
SpaceBeforeParens: ControlStatements | ||
SpaceInEmptyParentheses: false | ||
SpacesBeforeTrailingComments: 2 | ||
SpacesInAngles: false | ||
SpacesInContainerLiterals: true | ||
SpacesInCStyleCastParentheses: false | ||
SpacesInParentheses: false | ||
SpacesInSquareBrackets: false | ||
Standard: Auto | ||
TabWidth: 8 | ||
UseTab: Never |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2 | ||
# Reference: https://github.com/nodejs/node/blob/main/BUILDING.md#windows | ||
properties: | ||
resources: | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: pythonPackage | ||
directives: | ||
description: Install Python 3.12 | ||
module: Microsoft.WinGet.DSC | ||
allowPrerelease: true | ||
settings: | ||
id: Python.Python.3.12 | ||
source: winget | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: vsPackage | ||
directives: | ||
description: Install Visual Studio 2022 Community | ||
allowPrerelease: true | ||
settings: | ||
id: Microsoft.VisualStudio.2022.Community | ||
source: winget | ||
useLatest: true | ||
- resource: Microsoft.VisualStudio.DSC/VSComponents | ||
id: vsComponents | ||
dependsOn: | ||
- vsPackage | ||
directives: | ||
description: Install required VS workloads and components | ||
allowPrerelease: true | ||
settings: | ||
productId: Microsoft.VisualStudio.Product.Community | ||
channelId: VisualStudio.17.Release | ||
includeRecommended: true | ||
components: | ||
- Microsoft.VisualStudio.Workload.NativeDesktop | ||
- Microsoft.VisualStudio.Component.VC.Llvm.Clang | ||
- Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: gitPackage | ||
directives: | ||
description: Install Git | ||
allowPrerelease: true | ||
settings: | ||
id: Git.Git | ||
source: winget | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: nasmPackage | ||
directives: | ||
description: Install NetWide Assembler (NASM) | ||
allowPrerelease: true | ||
settings: | ||
id: Nasm.Nasm | ||
source: winget | ||
configurationVersion: 0.1.0 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2 | ||
# Reference: https://github.com/nodejs/node/blob/main/BUILDING.md#windows | ||
properties: | ||
resources: | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: pythonPackage | ||
directives: | ||
description: Install Python 3.12 | ||
module: Microsoft.WinGet.DSC | ||
allowPrerelease: true | ||
settings: | ||
id: Python.Python.3.12 | ||
source: winget | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: vsPackage | ||
directives: | ||
description: Install Visual Studio 2022 Enterprise | ||
allowPrerelease: true | ||
settings: | ||
id: Microsoft.VisualStudio.2022.Enterprise | ||
source: winget | ||
useLatest: true | ||
- resource: Microsoft.VisualStudio.DSC/VSComponents | ||
id: vsComponents | ||
dependsOn: | ||
- vsPackage | ||
directives: | ||
description: Install required VS workloads and components | ||
allowPrerelease: true | ||
settings: | ||
productId: Microsoft.VisualStudio.Product.Enterprise | ||
channelId: VisualStudio.17.Release | ||
includeRecommended: true | ||
components: | ||
- Microsoft.VisualStudio.Workload.NativeDesktop | ||
- Microsoft.VisualStudio.Component.VC.Llvm.Clang | ||
- Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: gitPackage | ||
directives: | ||
description: Install Git | ||
allowPrerelease: true | ||
settings: | ||
id: Git.Git | ||
source: winget | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: nasmPackage | ||
directives: | ||
description: Install NetWide Assembler (NASM) | ||
allowPrerelease: true | ||
settings: | ||
id: Nasm.Nasm | ||
source: winget | ||
configurationVersion: 0.1.0 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2 | ||
# Reference: https://github.com/nodejs/node/blob/main/BUILDING.md#windows | ||
properties: | ||
resources: | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: pythonPackage | ||
directives: | ||
description: Install Python 3.12 | ||
module: Microsoft.WinGet.DSC | ||
allowPrerelease: true | ||
settings: | ||
id: Python.Python.3.12 | ||
source: winget | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: vsPackage | ||
directives: | ||
description: Install Visual Studio 2022 Professional | ||
allowPrerelease: true | ||
settings: | ||
id: Microsoft.VisualStudio.2022.Professional | ||
source: winget | ||
useLatest: true | ||
- resource: Microsoft.VisualStudio.DSC/VSComponents | ||
id: vsComponents | ||
dependsOn: | ||
- vsPackage | ||
directives: | ||
description: Install required VS workloads and components | ||
allowPrerelease: true | ||
settings: | ||
productId: Microsoft.VisualStudio.Product.Professional | ||
channelId: VisualStudio.17.Release | ||
includeRecommended: true | ||
components: | ||
- Microsoft.VisualStudio.Workload.NativeDesktop | ||
- Microsoft.VisualStudio.Component.VC.Llvm.Clang | ||
- Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: gitPackage | ||
directives: | ||
description: Install Git | ||
allowPrerelease: true | ||
settings: | ||
id: Git.Git | ||
source: winget | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: nasmPackage | ||
directives: | ||
description: Install NetWide Assembler (NASM) | ||
allowPrerelease: true | ||
settings: | ||
id: Nasm.Nasm | ||
source: winget | ||
configurationVersion: 0.1.0 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
set noparent | ||
filter=-build/include_alpha,-build/include_subdir,-build/include_what_you_use,-legal/copyright,-readability/nolint,-readability/braces | ||
linelength=80 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "Node.js Core Developer Environment", | ||
"extensions": [ | ||
"github.vscode-pull-request-github", | ||
"ms-vsliveshare.vsliveshare", | ||
"vscode-icons-team.vscode-icons", | ||
"visualstudioexptteam.vscodeintellicode" | ||
], | ||
"image": "nodejs/devcontainer:nightly", | ||
"settings": { | ||
"terminal.integrated.profiles.linux": { | ||
"zsh (login)": { | ||
"path": "zsh", | ||
"args": ["-l"] | ||
} | ||
} | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
quote_type = single | ||
|
||
[vcbuild.bat] | ||
end_of_line = crlf | ||
|
||
[Makefile] | ||
indent_size = 8 | ||
indent_style = tab | ||
|
||
[{deps}/**] | ||
charset = unset | ||
end_of_line = unset | ||
indent_size = unset | ||
indent_style = unset | ||
trim_trailing_whitespace = unset | ||
|
||
[{test/fixtures,deps,tools/eslint/node_modules,tools/gyp,tools/icu,tools/msvs}/**] | ||
insert_final_newline = false |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
test/fixtures/* -text | ||
vcbuild.bat text eol=crlf | ||
deps/npm/bin/npm text eol=lf | ||
deps/npm/bin/npx text eol=lf | ||
deps/corepack/shims/corepack text eol=lf | ||
tools/msvs/find_python.cmd text eol=crlf | ||
doc/**/*.md text eol=lf |
Oops, something went wrong.