diff --git a/.azure/pipelines/ci.yml b/.azure/pipelines/ci.yml
index 82cb6cb5bc..eb38671015 100644
--- a/.azure/pipelines/ci.yml
+++ b/.azure/pipelines/ci.yml
@@ -499,15 +499,15 @@ stages:
- powershell: "& ./src/Servers/IIS/tools/UpdateIISExpressCertificate.ps1; & ./src/Servers/IIS/tools/update_schema.ps1"
displayName: Setup IISExpress test certificates and schema
afterBuild:
- - powershell: "& ./build.ps1 -CI -NoBuild -Test /p:RunFlakyTests=true"
- displayName: Run Flaky Tests
+ - powershell: "& ./build.ps1 -CI -NoBuild -Test /p:RunQuarantinedTests=true"
+ displayName: Run Quarantined Tests
continueOnError: true
- task: PublishTestResults@2
- displayName: Publish Flaky Test Results
+ displayName: Publish Quarantined Test Results
inputs:
testResultsFormat: 'xUnit'
testResultsFiles: '*.xml'
- searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)/Flaky'
+ searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)/Quarantined'
artifacts:
- name: Windows_Test_Dumps
path: artifacts/dumps/
@@ -574,15 +574,15 @@ stages:
displayName: Pack Packages (for Template tests)
- bash: ./src/ProjectTemplates/build.sh --ci --pack --no-restore --no-build-deps "/bl:artifacts/log/template.pack.binlog"
displayName: Pack Templates (for Template tests)
- - bash: ./build.sh --no-build --ci --test -p:RunFlakyTests=true
- displayName: Run Flaky Tests
+ - bash: ./build.sh --no-build --ci --test -p:RunQuarantinedTests=true
+ displayName: Run Quarantined Tests
continueOnError: true
- task: PublishTestResults@2
- displayName: Publish Flaky Test Results
+ displayName: Publish Quarantined Test Results
inputs:
testResultsFormat: 'xUnit'
testResultsFiles: '*.xml'
- searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)/Flaky'
+ searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)/Quarantined'
artifacts:
- name: MacOS_Test_Logs
path: artifacts/log/
@@ -611,15 +611,15 @@ stages:
displayName: Pack Packages (for Template tests)
- bash: ./src/ProjectTemplates/build.sh --ci --pack --no-restore --no-build-deps "/bl:artifacts/log/template.pack.binlog"
displayName: Pack Templates (for Template tests)
- - bash: ./build.sh --no-build --ci --test -p:RunFlakyTests=true
- displayName: Run Flaky Tests
+ - bash: ./build.sh --no-build --ci --test -p:RunQuarantinedTests=true
+ displayName: Run Quarantined Tests
continueOnError: true
- task: PublishTestResults@2
- displayName: Publish Flaky Test Results
+ displayName: Publish Quarantined Test Results
inputs:
testResultsFormat: 'xUnit'
testResultsFiles: '*.xml'
- searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)/Flaky'
+ searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)/Quarantined'
artifacts:
- name: Linux_Test_Logs
path: artifacts/log/
diff --git a/Directory.Build.props b/Directory.Build.props
index 3ef4008890..a2765ff560 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -35,9 +35,9 @@
true
-
+
-
+
Microsoft ASP.NET Core
diff --git a/docs/BuildFromSource.md b/docs/BuildFromSource.md
index 5ab42b0ec7..3fc873b939 100644
--- a/docs/BuildFromSource.md
+++ b/docs/BuildFromSource.md
@@ -139,6 +139,11 @@ source activate.sh
code .
```
+Note that if you are using the "Remote-WSL" extension in VSCode, the environment is not supplied
+to the process in WSL. You can workaround this by explicitly setting the environment variables
+in `~/.vscode-server/server-env-setup`.
+See https://code.visualstudio.com/docs/remote/wsl#_advanced-environment-setup-script for details.
+
## Building on command-line
You can also build the entire project on command line with the `build.cmd`/`.sh` scripts.
diff --git a/eng/FlakyTests.AfterArcade.props b/eng/FlakyTests.AfterArcade.props
deleted file mode 100644
index 12f631127e..0000000000
--- a/eng/FlakyTests.AfterArcade.props
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- $(ArtifactsDir)log\$(Configuration)\Flaky\
- $(ArtifactsDir)TestResults\$(Configuration)\Flaky\
-
-
diff --git a/eng/FlakyTests.BeforeArcade.props b/eng/FlakyTests.BeforeArcade.props
deleted file mode 100644
index 02f9fb6c59..0000000000
--- a/eng/FlakyTests.BeforeArcade.props
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
- <_FlakyRunAdditionalArgs>-trait "Flaky:All=true"
- <_NonFlakyRunAdditionalArgs>-notrait "Flaky:All=true"
-
-
-
-
- <_FlakyRunAdditionalArgs>$(_FlakyRunAdditionalArgs) -trait "Flaky:AzP:All=true" -trait "Flaky:AzP:OS:$(AGENT_OS)=true"
- <_NonFlakyRunAdditionalArgs>$(_NonFlakyRunAdditionalArgs) -notrait "Flaky:AzP:All=true" -notrait "Flaky:AzP:OS:$(AGENT_OS)=true"
-
-
-
- $(_NonFlakyRunAdditionalArgs) $(TestRunnerAdditionalArguments)
- $(_FlakyRunAdditionalArgs) $(TestRunnerAdditionalArguments)
-
-
diff --git a/eng/Publishing.props b/eng/Publishing.props
index 47d6c9e010..74434eeea5 100644
--- a/eng/Publishing.props
+++ b/eng/Publishing.props
@@ -49,10 +49,12 @@
+
true
diff --git a/eng/QuarantinedTests.AfterArcade.props b/eng/QuarantinedTests.AfterArcade.props
new file mode 100644
index 0000000000..4e0b5cde30
--- /dev/null
+++ b/eng/QuarantinedTests.AfterArcade.props
@@ -0,0 +1,7 @@
+
+
+
+ $(ArtifactsDir)log\$(Configuration)\Quarantined\
+ $(ArtifactsDir)TestResults\$(Configuration)\Quarantined\
+
+
diff --git a/eng/QuarantinedTests.BeforeArcade.props b/eng/QuarantinedTests.BeforeArcade.props
new file mode 100644
index 0000000000..5fa5fdcaf6
--- /dev/null
+++ b/eng/QuarantinedTests.BeforeArcade.props
@@ -0,0 +1,11 @@
+
+
+ <_QuarantinedTestRunAdditionalArgs>-trait "Quarantined=true"
+ <_NonQuarantinedTestRunAdditionalArgs>-notrait "Quarantined=true"
+
+
+
+ $(_NonQuarantinedTestRunAdditionalArgs) $(TestRunnerAdditionalArguments)
+ $(_QuarantinedTestRunAdditionalArgs) $(TestRunnerAdditionalArguments)
+
+
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index 2ca3900cf8..778c65dab1 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -13,348 +13,344 @@
https://github.com/dotnet/blazor
dd7fb4d3931d556458f62642c2edfc59f6295bfb
-
+
https://github.com/dotnet/aspnetcore-tooling
- 151c6a416f147c687c61dcb9b8cf3f6bd0c1a79f
+ 33a9f3ca20e57e7fb69fd90b9aa9b2278f377a54
-
+
https://github.com/dotnet/aspnetcore-tooling
- 151c6a416f147c687c61dcb9b8cf3f6bd0c1a79f
+ 33a9f3ca20e57e7fb69fd90b9aa9b2278f377a54
-
+
https://github.com/dotnet/aspnetcore-tooling
- 151c6a416f147c687c61dcb9b8cf3f6bd0c1a79f
+ 33a9f3ca20e57e7fb69fd90b9aa9b2278f377a54
-
+
https://github.com/dotnet/aspnetcore-tooling
- 151c6a416f147c687c61dcb9b8cf3f6bd0c1a79f
+ 33a9f3ca20e57e7fb69fd90b9aa9b2278f377a54
-
+
https://github.com/dotnet/efcore
- ca43ad17d612518231cc6b8a359e7168de1f76f1
+ 39633487003879903958dc09be5bb4ec6d6034df
-
+
https://github.com/dotnet/efcore
- ca43ad17d612518231cc6b8a359e7168de1f76f1
+ 39633487003879903958dc09be5bb4ec6d6034df
-
+
https://github.com/dotnet/efcore
- ca43ad17d612518231cc6b8a359e7168de1f76f1
+ 39633487003879903958dc09be5bb4ec6d6034df
-
+
https://github.com/dotnet/efcore
- ca43ad17d612518231cc6b8a359e7168de1f76f1
+ 39633487003879903958dc09be5bb4ec6d6034df
-
+
https://github.com/dotnet/efcore
- ca43ad17d612518231cc6b8a359e7168de1f76f1
+ 39633487003879903958dc09be5bb4ec6d6034df
-
+
https://github.com/dotnet/efcore
- ca43ad17d612518231cc6b8a359e7168de1f76f1
+ 39633487003879903958dc09be5bb4ec6d6034df
-
+
https://github.com/dotnet/efcore
- ca43ad17d612518231cc6b8a359e7168de1f76f1
+ 39633487003879903958dc09be5bb4ec6d6034df
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/runtime
- 4807684b13d473c19121fbe757296e7607f3cabf
+ 9bcf3b12f4e7ad2667ca00afc804877d78b81a46
-
+
https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
+ a1c36119ce1b3ff9a7a69f7b088b9601962e58e2
-
+
https://github.com/dotnet/arcade
- 85d76351b1f0245c9f331f72219d12e8e2d48e72
+ 8ccad075bbb0db445e03eed0a6073d27bdd4f31a
-
+
https://github.com/dotnet/arcade
- 85d76351b1f0245c9f331f72219d12e8e2d48e72
+ 8ccad075bbb0db445e03eed0a6073d27bdd4f31a
-
+
https://github.com/dotnet/arcade
- 85d76351b1f0245c9f331f72219d12e8e2d48e72
+ 8ccad075bbb0db445e03eed0a6073d27bdd4f31a
-
- https://github.com/dotnet/extensions
- 8fb38ab52b8f873109b6e87b4f04226d6a892ee4
-
-
+
https://github.com/dotnet/roslyn
- 1baa0b3063238ed752ad1f0368b1df6b6901373e
+ 20b9af913f1b8ce0a62f72bea9e75e4aa3cf6b0e
diff --git a/eng/Versions.props b/eng/Versions.props
index cb3157e855..32a5384560 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -62,97 +62,96 @@
-->
- 5.0.0-beta.20123.1
+ 5.0.0-beta.20151.1
- 3.5.0-beta4-20125-04
+ 3.5.0-beta4-20153-05
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 2.1.0-preview.2.20125.16
+ 5.0.0-preview.2-runtime.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 2.1.0-preview.2.20154.1
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
- 5.0.0-preview.2.20125.16
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
- 5.0.0-preview.2.20125.16
+ 5.0.0-preview.2.20154.1
3.2.0-preview1.20067.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-dev
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
+ 5.0.0-preview.2.20154.4
+ 5.0.0-preview.2.20154.4
+ 5.0.0-preview.2.20154.4
+ 5.0.0-preview.2.20154.4
+ 5.0.0-preview.2.20154.4
+ 5.0.0-preview.2.20154.4
+ 5.0.0-preview.2.20154.4
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
- 5.0.0-preview.2.20126.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
+ 5.0.0-preview.2.20154.1
0.9.9
- 0.10.13
+ 0.12.0
4.2.1
4.2.1
3.8.0
diff --git a/eng/common/dotnet-install.sh b/eng/common/dotnet-install.sh
index 50bc5e475c..ead6a1d9a2 100755
--- a/eng/common/dotnet-install.sh
+++ b/eng/common/dotnet-install.sh
@@ -63,7 +63,7 @@ case $cpuname in
amd64|x86_64)
buildarch=x64
;;
- armv7l)
+ armv*l)
buildarch=arm
;;
i686)
diff --git a/eng/common/init-tools-native.sh b/eng/common/init-tools-native.sh
index dbd7cbfdf6..29fc5db8ae 100755
--- a/eng/common/init-tools-native.sh
+++ b/eng/common/init-tools-native.sh
@@ -34,6 +34,14 @@ while (($# > 0)); do
force=true
shift 1
;;
+ --donotabortonfailure)
+ donotabortonfailure=true
+ shift 1
+ ;;
+ --donotdisplaywarnings)
+ donotdisplaywarnings=true
+ shift 1
+ ;;
--downloadretries)
download_retries=$2
shift 2
@@ -52,6 +60,8 @@ while (($# > 0)); do
echo " - (default) %USERPROFILE%/.netcoreeng/native"
echo ""
echo " --clean Switch specifying not to install anything, but cleanup native asset folders"
+ echo " --donotabortonfailure Switch specifiying whether to abort native tools installation on failure"
+ echo " --donotdisplaywarnings Switch specifiying whether to display warnings during native tools installation on failure"
echo " --force Clean and then install tools"
echo " --help Print help and exit"
echo ""
@@ -92,6 +102,7 @@ if [[ -z $install_directory ]]; then
fi
install_bin="${native_base_dir}/bin"
+installed_any=false
ReadGlobalJsonNativeTools
@@ -103,8 +114,8 @@ else
for tool in "${!native_assets[@]}"
do
tool_version=${native_assets[$tool]}
- installer_name="install-$tool.sh"
- installer_command="$native_installer_dir/$installer_name"
+ installer_path="$native_installer_dir/install-$tool.sh"
+ installer_command="$installer_path"
installer_command+=" --baseuri $base_uri"
installer_command+=" --installpath $install_bin"
installer_command+=" --version $tool_version"
@@ -118,11 +129,29 @@ else
installer_command+=" --clean"
fi
- $installer_command
-
- if [[ $? != 0 ]]; then
- Write-PipelineTelemetryError -category 'NativeToolsBootstrap' "Execution Failed"
- exit 1
+ if [[ -a $installer_path ]]; then
+ $installer_command
+ if [[ $? != 0 ]]; then
+ if [[ $donotabortonfailure = true ]]; then
+ if [[ $donotdisplaywarnings != true ]]; then
+ Write-PipelineTelemetryError -category 'NativeToolsBootstrap' "Execution Failed"
+ fi
+ else
+ Write-PipelineTelemetryError -category 'NativeToolsBootstrap' "Execution Failed"
+ exit 1
+ fi
+ else
+ $installed_any = true
+ fi
+ else
+ if [[ $donotabortonfailure == true ]]; then
+ if [[ $donotdisplaywarnings != true ]]; then
+ Write-PipelineTelemetryError -category 'NativeToolsBootstrap' "Execution Failed: no install script"
+ fi
+ else
+ Write-PipelineTelemetryError -category 'NativeToolsBootstrap' "Execution Failed: no install script"
+ exit 1
+ fi
fi
done
fi
@@ -135,8 +164,10 @@ if [[ -d $install_bin ]]; then
echo "Native tools are available from $install_bin"
echo "##vso[task.prependpath]$install_bin"
else
- Write-PipelineTelemetryError -category 'NativeToolsBootstrap' "Native tools install directory does not exist, installation failed"
- exit 1
+ if [[ $installed_any = true ]]; then
+ Write-PipelineTelemetryError -category 'NativeToolsBootstrap' "Native tools install directory does not exist, installation failed"
+ exit 1
+ fi
fi
exit 0
diff --git a/eng/common/performance/perfhelixpublish.proj b/eng/common/performance/perfhelixpublish.proj
index e5826b5323..cf5941e1b6 100644
--- a/eng/common/performance/perfhelixpublish.proj
+++ b/eng/common/performance/perfhelixpublish.proj
@@ -6,7 +6,7 @@
py -3
%HELIX_CORRELATION_PAYLOAD%\Core_Root\CoreRun.exe
%HELIX_CORRELATION_PAYLOAD%\Baseline_Core_Root\CoreRun.exe
- $(HelixPreCommands);call %HELIX_CORRELATION_PAYLOAD%\performance\tools\machine-setup.cmd
+ $(HelixPreCommands);call %HELIX_CORRELATION_PAYLOAD%\performance\tools\machine-setup.cmd;set PYTHONPATH=%HELIX_WORKITEM_PAYLOAD%\scripts%3B%HELIX_WORKITEM_PAYLOAD%
%HELIX_CORRELATION_PAYLOAD%\artifacts\BenchmarkDotNet.Artifacts
%HELIX_CORRELATION_PAYLOAD%\artifacts\BenchmarkDotNet.Artifacts_Baseline
%HELIX_CORRELATION_PAYLOAD%\performance\src\tools\ResultsComparer\ResultsComparer.csproj
@@ -99,4 +99,23 @@
4:00
+
+
+
+ $(WorkItemDirectory)\ScenarioCorrelation
+ $(Python) %HELIX_CORRELATION_PAYLOAD%\performance\src\scenarios\crossgen\test.py crossgen --test-name System.Private.Xml.dll --core-root %HELIX_CORRELATION_PAYLOAD%\Core_Root
+
+
+ $(WorkItemDirectory)\ScenarioCorrelation
+ $(Python) %HELIX_CORRELATION_PAYLOAD%\performance\src\scenarios\crossgen\test.py crossgen --test-name System.Linq.Expressions.dll --core-root %HELIX_CORRELATION_PAYLOAD%\Core_Root
+
+
+ $(WorkItemDirectory)\ScenarioCorrelation
+ $(Python) %HELIX_CORRELATION_PAYLOAD%\performance\src\scenarios\crossgen\test.py crossgen --test-name Microsoft.CodeAnalysis.VisualBasic.dll --core-root %HELIX_CORRELATION_PAYLOAD%\Core_Root
+
+
+ $(WorkItemDirectory)\ScenarioCorrelation
+ $(Python) %HELIX_CORRELATION_PAYLOAD%\performance\src\scenarios\crossgen\test.py crossgen --test-name Microsoft.CodeAnalysis.CSharp.dll --core-root %HELIX_CORRELATION_PAYLOAD%\Core_Root
+
+
\ No newline at end of file
diff --git a/eng/common/templates/post-build/channels/generic-internal-channel.yml b/eng/common/templates/post-build/channels/generic-internal-channel.yml
index 380122901d..dde27800c3 100644
--- a/eng/common/templates/post-build/channels/generic-internal-channel.yml
+++ b/eng/common/templates/post-build/channels/generic-internal-channel.yml
@@ -84,6 +84,7 @@ stages:
- job: publish_assets
displayName: Publish Assets
dependsOn: setupMaestroVars
+ timeoutInMinutes: 120
variables:
- name: BARBuildId
value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.BARBuildId'] ]
diff --git a/eng/common/templates/post-build/channels/generic-public-channel.yml b/eng/common/templates/post-build/channels/generic-public-channel.yml
index 00ef36fefe..29bc1a941a 100644
--- a/eng/common/templates/post-build/channels/generic-public-channel.yml
+++ b/eng/common/templates/post-build/channels/generic-public-channel.yml
@@ -83,6 +83,7 @@ stages:
- job: publish_assets
displayName: Publish Assets
dependsOn: setupMaestroVars
+ timeoutInMinutes: 120
variables:
- name: BARBuildId
value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.BARBuildId'] ]
diff --git a/eng/helix/content/runtests.cmd b/eng/helix/content/runtests.cmd
index 73cf658c18..5fe1af7eb6 100644
--- a/eng/helix/content/runtests.cmd
+++ b/eng/helix/content/runtests.cmd
@@ -53,23 +53,21 @@ if %$quarantined%==True (
set %$quarantined=true
)
-set NONQUARANTINE_FILTER="Flaky:All!=true&Flaky:Helix:All!=true&Flaky:Helix:Queue:All!=true&Flaky:Helix:Queue:%HELIX%!=true"
-set QUARANTINE_FILTER="Flaky:All=true|Flaky:Helix:All=true|Flaky:Helix:Queue:All=true|Flaky:Helix:Queue:%HELIX%=true"
+set NONQUARANTINE_FILTER="Quarantined!=true"
+set QUARANTINE_FILTER="Quarantined=true"
if %$quarantined%==true (
echo Running quarantined tests.
%DOTNET_ROOT%\dotnet vstest %$target% --logger:xunit --TestCaseFilter:%QUARANTINE_FILTER%
if errorlevel 1 (
- echo Failure in flaky test 1>&2
+ echo Failure in quarantined test 1>&2
REM DO NOT EXIT and DO NOT SET EXIT_CODE to 1
)
) else (
- REM We need to specify all possible Flaky filters that apply to this environment, because the flaky attribute
- REM only puts the explicit filter traits the user provided in
REM Filter syntax: https://github.com/Microsoft/vstest-docs/blob/master/docs/filter.md
echo Running non-quarantined tests.
%DOTNET_ROOT%\dotnet vstest %$target% --logger:xunit --TestCaseFilter:%NONQUARANTINE_FILTER%
if errorlevel 1 (
- echo Failure in non-flaky test 1>&2
+ echo Failure in non-quarantined test 1>&2
set exit_code=1
REM DO NOT EXIT
)
diff --git a/eng/helix/content/runtests.sh b/eng/helix/content/runtests.sh
index c31297d587..7d319e0a38 100644
--- a/eng/helix/content/runtests.sh
+++ b/eng/helix/content/runtests.sh
@@ -115,11 +115,9 @@ fi
exit_code=0
-# We need to specify all possible quarantined filters that apply to this environment, because the quarantine attribute
-# only puts the explicit filter traits the user provided in the flaky attribute
# Filter syntax: https://github.com/Microsoft/vstest-docs/blob/master/docs/filter.md
-NONQUARANTINE_FILTER="Flaky:All!=true&Flaky:Helix:All!=true&Flaky:Helix:Queue:All!=true&Flaky:Helix:Queue:$helix_queue_name!=true"
-QUARANTINE_FILTER="Flaky:All=true|Flaky:Helix:All=true|Flaky:Helix:Queue:All=true|Flaky:Helix:Queue:$helix_queue_name=true"
+NONQUARANTINE_FILTER="Quarantined!=true"
+QUARANTINE_FILTER="Quarantined=true"
if [ "$quarantined" == true ]; then
echo "Running all tests including quarantined."
$DOTNET_ROOT/dotnet vstest $test_binary_path --logger:xunit --TestCaseFilter:"$QUARANTINE_FILTER"
diff --git a/global.json b/global.json
index 9d9a073328..15a1a6543e 100644
--- a/global.json
+++ b/global.json
@@ -25,7 +25,7 @@
},
"msbuild-sdks": {
"Yarn.MSBuild": "1.15.2",
- "Microsoft.DotNet.Arcade.Sdk": "5.0.0-beta.20123.1",
- "Microsoft.DotNet.Helix.Sdk": "5.0.0-beta.20123.1"
+ "Microsoft.DotNet.Arcade.Sdk": "5.0.0-beta.20151.1",
+ "Microsoft.DotNet.Helix.Sdk": "5.0.0-beta.20151.1"
}
}
diff --git a/src/Components/Components/ref/Microsoft.AspNetCore.Components.netcoreapp.cs b/src/Components/Components/ref/Microsoft.AspNetCore.Components.netcoreapp.cs
index 10a26b70af..17c4d7a4f5 100644
--- a/src/Components/Components/ref/Microsoft.AspNetCore.Components.netcoreapp.cs
+++ b/src/Components/Components/ref/Microsoft.AspNetCore.Components.netcoreapp.cs
@@ -12,6 +12,7 @@ namespace Microsoft.AspNetCore.Components
public static string FormatValue(System.DateTimeOffset value, string format, System.Globalization.CultureInfo culture = null) { throw null; }
public static string FormatValue(decimal value, System.Globalization.CultureInfo culture = null) { throw null; }
public static string FormatValue(double value, System.Globalization.CultureInfo culture = null) { throw null; }
+ public static string FormatValue(short value, System.Globalization.CultureInfo culture = null) { throw null; }
public static string FormatValue(int value, System.Globalization.CultureInfo culture = null) { throw null; }
public static string FormatValue(long value, System.Globalization.CultureInfo culture = null) { throw null; }
public static bool? FormatValue(bool? value, System.Globalization.CultureInfo culture = null) { throw null; }
@@ -21,6 +22,7 @@ namespace Microsoft.AspNetCore.Components
public static string FormatValue(System.DateTime? value, string format, System.Globalization.CultureInfo culture = null) { throw null; }
public static string FormatValue(decimal? value, System.Globalization.CultureInfo culture = null) { throw null; }
public static string FormatValue(double? value, System.Globalization.CultureInfo culture = null) { throw null; }
+ public static string FormatValue(short? value, System.Globalization.CultureInfo culture = null) { throw null; }
public static string FormatValue(int? value, System.Globalization.CultureInfo culture = null) { throw null; }
public static string FormatValue(long? value, System.Globalization.CultureInfo culture = null) { throw null; }
public static string FormatValue(float? value, System.Globalization.CultureInfo culture = null) { throw null; }
@@ -47,6 +49,8 @@ namespace Microsoft.AspNetCore.Components
public static bool TryConvertToNullableFloat(object obj, System.Globalization.CultureInfo culture, out float? value) { throw null; }
public static bool TryConvertToNullableInt(object obj, System.Globalization.CultureInfo culture, out int? value) { throw null; }
public static bool TryConvertToNullableLong(object obj, System.Globalization.CultureInfo culture, out long? value) { throw null; }
+ public static bool TryConvertToNullableShort(object obj, System.Globalization.CultureInfo culture, out short? value) { throw null; }
+ public static bool TryConvertToShort(object obj, System.Globalization.CultureInfo culture, out short value) { throw null; }
public static bool TryConvertToString(object obj, System.Globalization.CultureInfo culture, out string value) { throw null; }
public static bool TryConvertTo(object obj, System.Globalization.CultureInfo culture, out T value) { throw null; }
}
@@ -165,6 +169,7 @@ namespace Microsoft.AspNetCore.Components
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, System.DateTime existingValue, string format, System.Globalization.CultureInfo culture = null) { throw null; }
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, decimal existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, double existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
+ public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, short existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, int existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, long existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, bool? existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
@@ -174,6 +179,7 @@ namespace Microsoft.AspNetCore.Components
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, System.DateTime? existingValue, string format, System.Globalization.CultureInfo culture = null) { throw null; }
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, decimal? existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, double? existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
+ public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, short? existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, int? existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, long? existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, float? existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
diff --git a/src/Components/Components/ref/Microsoft.AspNetCore.Components.netstandard2.0.cs b/src/Components/Components/ref/Microsoft.AspNetCore.Components.netstandard2.0.cs
index 10a26b70af..17c4d7a4f5 100644
--- a/src/Components/Components/ref/Microsoft.AspNetCore.Components.netstandard2.0.cs
+++ b/src/Components/Components/ref/Microsoft.AspNetCore.Components.netstandard2.0.cs
@@ -12,6 +12,7 @@ namespace Microsoft.AspNetCore.Components
public static string FormatValue(System.DateTimeOffset value, string format, System.Globalization.CultureInfo culture = null) { throw null; }
public static string FormatValue(decimal value, System.Globalization.CultureInfo culture = null) { throw null; }
public static string FormatValue(double value, System.Globalization.CultureInfo culture = null) { throw null; }
+ public static string FormatValue(short value, System.Globalization.CultureInfo culture = null) { throw null; }
public static string FormatValue(int value, System.Globalization.CultureInfo culture = null) { throw null; }
public static string FormatValue(long value, System.Globalization.CultureInfo culture = null) { throw null; }
public static bool? FormatValue(bool? value, System.Globalization.CultureInfo culture = null) { throw null; }
@@ -21,6 +22,7 @@ namespace Microsoft.AspNetCore.Components
public static string FormatValue(System.DateTime? value, string format, System.Globalization.CultureInfo culture = null) { throw null; }
public static string FormatValue(decimal? value, System.Globalization.CultureInfo culture = null) { throw null; }
public static string FormatValue(double? value, System.Globalization.CultureInfo culture = null) { throw null; }
+ public static string FormatValue(short? value, System.Globalization.CultureInfo culture = null) { throw null; }
public static string FormatValue(int? value, System.Globalization.CultureInfo culture = null) { throw null; }
public static string FormatValue(long? value, System.Globalization.CultureInfo culture = null) { throw null; }
public static string FormatValue(float? value, System.Globalization.CultureInfo culture = null) { throw null; }
@@ -47,6 +49,8 @@ namespace Microsoft.AspNetCore.Components
public static bool TryConvertToNullableFloat(object obj, System.Globalization.CultureInfo culture, out float? value) { throw null; }
public static bool TryConvertToNullableInt(object obj, System.Globalization.CultureInfo culture, out int? value) { throw null; }
public static bool TryConvertToNullableLong(object obj, System.Globalization.CultureInfo culture, out long? value) { throw null; }
+ public static bool TryConvertToNullableShort(object obj, System.Globalization.CultureInfo culture, out short? value) { throw null; }
+ public static bool TryConvertToShort(object obj, System.Globalization.CultureInfo culture, out short value) { throw null; }
public static bool TryConvertToString(object obj, System.Globalization.CultureInfo culture, out string value) { throw null; }
public static bool TryConvertTo(object obj, System.Globalization.CultureInfo culture, out T value) { throw null; }
}
@@ -165,6 +169,7 @@ namespace Microsoft.AspNetCore.Components
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, System.DateTime existingValue, string format, System.Globalization.CultureInfo culture = null) { throw null; }
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, decimal existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, double existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
+ public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, short existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, int existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, long existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, bool? existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
@@ -174,6 +179,7 @@ namespace Microsoft.AspNetCore.Components
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, System.DateTime? existingValue, string format, System.Globalization.CultureInfo culture = null) { throw null; }
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, decimal? existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, double? existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
+ public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, short? existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, int? existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, long? existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
public static Microsoft.AspNetCore.Components.EventCallback CreateBinder(this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, System.Action setter, float? existingValue, System.Globalization.CultureInfo culture = null) { throw null; }
diff --git a/src/Components/Components/src/BindConverter.cs b/src/Components/Components/src/BindConverter.cs
index 30ded5fe73..0aadb8077e 100644
--- a/src/Components/Components/src/BindConverter.cs
+++ b/src/Components/Components/src/BindConverter.cs
@@ -15,7 +15,7 @@ namespace Microsoft.AspNetCore.Components
//
// Perf: our conversion routines present a regular API surface that allows us to specialize on types to avoid boxing.
// for instance, many of these types could be cast to IFormattable to do the appropriate formatting, but that's going
- // to allocate.
+ // to allocate.
public static class BindConverter
{
private static object BoxedTrue = true;
@@ -158,6 +158,41 @@ namespace Microsoft.AspNetCore.Components
return value.Value.ToString(culture ?? CultureInfo.CurrentCulture);
}
+ ///
+ /// Formats the provided for inclusion in an attribute.
+ ///
+ /// The value to format.
+ ///
+ /// The to use while formatting. Defaults to .
+ ///
+ /// The formatted value.
+ public static string FormatValue(short value, CultureInfo culture = null) => FormatShortValueCore(value, culture);
+
+ private static string FormatShortValueCore(short value, CultureInfo culture)
+ {
+ return value.ToString(culture ?? CultureInfo.CurrentCulture);
+ }
+
+ ///
+ /// Formats the provided for inclusion in an attribute.
+ ///
+ /// The value to format.
+ ///
+ /// The to use while formatting. Defaults to .
+ ///
+ /// The formatted value.
+ public static string FormatValue(short? value, CultureInfo culture = null) => FormatNullableShortValueCore(value, culture);
+
+ private static string FormatNullableShortValueCore(short? value, CultureInfo culture)
+ {
+ if (value == null)
+ {
+ return null;
+ }
+
+ return value.Value.ToString(culture ?? CultureInfo.CurrentCulture);
+ }
+
///
/// Formats the provided for inclusion in an attribute.
///
@@ -649,6 +684,71 @@ namespace Microsoft.AspNetCore.Components
return true;
}
+ ///
+ /// Attempts to convert a value to a .
+ ///
+ /// The object to convert.
+ /// The to use for conversion.
+ /// The converted value.
+ /// true if conversion is successful, otherwise false.
+ public static bool TryConvertToShort(object obj, CultureInfo culture, out short value)
+ {
+ return ConvertToShortCore(obj, culture, out value);
+ }
+
+ ///
+ /// Attempts to convert a value to a nullable .
+ ///
+ /// The object to convert.
+ /// The to use for conversion.
+ /// The converted value.
+ /// true if conversion is successful, otherwise false.
+ public static bool TryConvertToNullableShort(object obj, CultureInfo culture, out short? value)
+ {
+ return ConvertToNullableShort(obj, culture, out value);
+ }
+
+ internal static BindParser ConvertToShort = ConvertToShortCore;
+ internal static BindParser ConvertToNullableShort = ConvertToNullableShortCore;
+
+ private static bool ConvertToShortCore(object obj, CultureInfo culture, out short value)
+ {
+ var text = (string)obj;
+ if (string.IsNullOrEmpty(text))
+ {
+ value = default;
+ return false;
+ }
+
+ if (!short.TryParse(text, NumberStyles.Number, culture ?? CultureInfo.CurrentCulture, out var converted))
+ {
+ value = default;
+ return false;
+ }
+
+ value = converted;
+ return true;
+ }
+
+ private static bool ConvertToNullableShortCore(object obj, CultureInfo culture, out short? value)
+ {
+ var text = (string)obj;
+ if (string.IsNullOrEmpty(text))
+ {
+ value = default;
+ return true;
+ }
+
+ if (!short.TryParse(text, NumberStyles.Number, culture ?? CultureInfo.CurrentCulture, out var converted))
+ {
+ value = default;
+ return false;
+ }
+
+ value = converted;
+ return true;
+ }
+
///
/// Attempts to convert a value to a .
///
@@ -1198,6 +1298,14 @@ namespace Microsoft.AspNetCore.Components
{
formatter = (BindFormatter)FormatNullableLongValueCore;
}
+ else if (typeof(T) == typeof(short))
+ {
+ formatter = (BindFormatter)FormatShortValueCore;
+ }
+ else if (typeof(T) == typeof(short?))
+ {
+ formatter = (BindFormatter)FormatNullableShortValueCore;
+ }
else if (typeof(T) == typeof(float))
{
formatter = (BindFormatter)FormatFloatValueCore;
@@ -1323,6 +1431,14 @@ namespace Microsoft.AspNetCore.Components
{
parser = ConvertToNullableLong;
}
+ else if (typeof(T) == typeof(short))
+ {
+ parser = ConvertToShort;
+ }
+ else if (typeof(T) == typeof(short?))
+ {
+ parser = ConvertToNullableShort;
+ }
else if (typeof(T) == typeof(float))
{
parser = ConvertToFloat;
diff --git a/src/Components/Components/src/EventCallbackFactoryBinderExtensions.cs b/src/Components/Components/src/EventCallbackFactoryBinderExtensions.cs
index 2a27533dfb..0305c1b469 100644
--- a/src/Components/Components/src/EventCallbackFactoryBinderExtensions.cs
+++ b/src/Components/Components/src/EventCallbackFactoryBinderExtensions.cs
@@ -136,6 +136,25 @@ namespace Microsoft.AspNetCore.Components
return CreateBinderCore(factory, receiver, setter, culture, ConvertToLong);
}
+ ///
+ /// For internal use only.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static EventCallback CreateBinder(
+ this EventCallbackFactory factory,
+ object receiver,
+ Action setter,
+ short existingValue,
+ CultureInfo culture = null)
+ {
+ return CreateBinderCore(factory, receiver, setter, culture, ConvertToShort);
+ }
+
///
/// For internal use only.
///
@@ -155,6 +174,25 @@ namespace Microsoft.AspNetCore.Components
return CreateBinderCore(factory, receiver, setter, culture, ConvertToNullableLong);
}
+ ///
+ /// For internal use only.
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static EventCallback CreateBinder(
+ this EventCallbackFactory factory,
+ object receiver,
+ Action setter,
+ short? existingValue,
+ CultureInfo culture = null)
+ {
+ return CreateBinderCore(factory, receiver, setter, culture, ConvertToNullableShort);
+ }
+
///
/// For internal use only.
///
diff --git a/src/Components/Web/src/Forms/InputNumber.cs b/src/Components/Web/src/Forms/InputNumber.cs
index 09327bcae6..efdb53c905 100644
--- a/src/Components/Web/src/Forms/InputNumber.cs
+++ b/src/Components/Web/src/Forms/InputNumber.cs
@@ -9,7 +9,7 @@ namespace Microsoft.AspNetCore.Components.Forms
{
///
/// An input component for editing numeric values.
- /// Supported numeric types are , , , , .
+ /// Supported numeric types are , , , , , .
///
public class InputNumber : InputBase
{
@@ -22,6 +22,7 @@ namespace Microsoft.AspNetCore.Components.Forms
var targetType = Nullable.GetUnderlyingType(typeof(TValue)) ?? typeof(TValue);
if (targetType == typeof(int) ||
targetType == typeof(long) ||
+ targetType == typeof(short) ||
targetType == typeof(float) ||
targetType == typeof(double) ||
targetType == typeof(decimal))
@@ -86,6 +87,9 @@ namespace Microsoft.AspNetCore.Components.Forms
case long @long:
return BindConverter.FormatValue(@long, CultureInfo.InvariantCulture);
+ case short @short:
+ return BindConverter.FormatValue(@short, CultureInfo.InvariantCulture);
+
case float @float:
return BindConverter.FormatValue(@float, CultureInfo.InvariantCulture);
diff --git a/src/Components/test/E2ETest/ServerExecutionTests/ComponentHubReliabilityTest.cs b/src/Components/test/E2ETest/ServerExecutionTests/ComponentHubReliabilityTest.cs
index 52546042fb..774197872d 100644
--- a/src/Components/test/E2ETest/ServerExecutionTests/ComponentHubReliabilityTest.cs
+++ b/src/Components/test/E2ETest/ServerExecutionTests/ComponentHubReliabilityTest.cs
@@ -2,14 +2,9 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
-using System.Collections.Generic;
-using System.Text.Json;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
-using Ignitor;
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFixtures;
-using Microsoft.AspNetCore.Components.RenderTree;
-using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.SignalR.Client;
using Microsoft.AspNetCore.Testing;
using Microsoft.Extensions.Logging;
@@ -27,6 +22,7 @@ namespace Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests
}
[Fact]
+ [QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/19414")]
public async Task CannotStartMultipleCircuits()
{
// Arrange
diff --git a/src/Components/test/E2ETest/ServerExecutionTests/GlobalizationTest.cs b/src/Components/test/E2ETest/ServerExecutionTests/GlobalizationTest.cs
index 3e330f7b47..609fd83f30 100644
--- a/src/Components/test/E2ETest/ServerExecutionTests/GlobalizationTest.cs
+++ b/src/Components/test/E2ETest/ServerExecutionTests/GlobalizationTest.cs
@@ -186,6 +186,18 @@ namespace Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests
Browser.Equal(90000000000.ToString(cultureInfo), () => display.Text);
Browser.Equal(90000000000.ToString(CultureInfo.InvariantCulture), () => input.GetAttribute("value"));
+ // short
+ input = Browser.FindElement(By.Id("inputnumber_short"));
+ display = Browser.FindElement(By.Id("inputnumber_short_value"));
+ Browser.Equal(42.ToString(cultureInfo), () => display.Text);
+ Browser.Equal(42.ToString(CultureInfo.InvariantCulture), () => input.GetAttribute("value"));
+
+ input.Clear();
+ input.SendKeys(127.ToString(CultureInfo.InvariantCulture));
+ input.SendKeys("\t");
+ Browser.Equal(127.ToString(cultureInfo), () => display.Text);
+ Browser.Equal(127.ToString(CultureInfo.InvariantCulture), () => input.GetAttribute("value"));
+
// decimal
input = Browser.FindElement(By.Id("inputnumber_decimal"));
display = Browser.FindElement(By.Id("inputnumber_decimal_value"));
diff --git a/src/Components/test/E2ETest/ServerExecutionTests/InteropReliabilityTests.cs b/src/Components/test/E2ETest/ServerExecutionTests/InteropReliabilityTests.cs
index c3e0626eb6..288b3e7c8c 100644
--- a/src/Components/test/E2ETest/ServerExecutionTests/InteropReliabilityTests.cs
+++ b/src/Components/test/E2ETest/ServerExecutionTests/InteropReliabilityTests.cs
@@ -11,6 +11,7 @@ using Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFixtures;
using Microsoft.AspNetCore.Components.RenderTree;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.SignalR.Client;
+using Microsoft.AspNetCore.Testing;
using Microsoft.Extensions.Logging;
using TestServer;
using Xunit;
@@ -213,6 +214,7 @@ namespace Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests
}
[Fact]
+ [QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/19410")]
public async Task ContinuesWorkingAfterInvalidAsyncReturnCallback()
{
// Arrange
diff --git a/src/Components/test/E2ETest/ServerExecutionTests/ServerComponentRenderingTest.cs b/src/Components/test/E2ETest/ServerExecutionTests/ServerComponentRenderingTest.cs
index 25b7b552af..de7a9321e9 100644
--- a/src/Components/test/E2ETest/ServerExecutionTests/ServerComponentRenderingTest.cs
+++ b/src/Components/test/E2ETest/ServerExecutionTests/ServerComponentRenderingTest.cs
@@ -6,8 +6,8 @@ using BasicTestApp;
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFixtures;
using Microsoft.AspNetCore.Components.E2ETest.Tests;
using Microsoft.AspNetCore.E2ETesting;
+using Microsoft.AspNetCore.Testing;
using OpenQA.Selenium;
-using OpenQA.Selenium.Support.UI;
using Xunit;
using Xunit.Abstractions;
@@ -35,5 +35,10 @@ namespace Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests
$"{typeof(InvalidOperationException).FullName}: The current thread is not associated with the Dispatcher. Use InvokeAsync() to switch execution to the Dispatcher when triggering rendering or component state.",
() => result.Text);
}
+
+ [Fact]
+ [QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/19413")]
+ public override void CanDispatchAsyncWorkToSyncContext()
+ => base.CanDispatchAsyncWorkToSyncContext();
}
}
diff --git a/src/Components/test/E2ETest/Tests/BindTest.cs b/src/Components/test/E2ETest/Tests/BindTest.cs
index cefd842022..70fc700e89 100644
--- a/src/Components/test/E2ETest/Tests/BindTest.cs
+++ b/src/Components/test/E2ETest/Tests/BindTest.cs
@@ -355,6 +355,65 @@ namespace Microsoft.AspNetCore.Components.E2ETest.Tests
Assert.Equal(string.Empty, mirrorValue.GetAttribute("value"));
}
+ [Fact]
+ public void CanBindTextboxShort()
+ {
+ var target = Browser.FindElement(By.Id("textbox-short"));
+ var boundValue = Browser.FindElement(By.Id("textbox-short-value"));
+ var mirrorValue = Browser.FindElement(By.Id("textbox-short-mirror"));
+ Assert.Equal("-42", target.GetAttribute("value"));
+ Assert.Equal("-42", boundValue.Text);
+ Assert.Equal("-42", mirrorValue.GetAttribute("value"));
+
+ // Clear target; value resets to zero
+ target.Clear();
+ Browser.Equal("0", () => target.GetAttribute("value"));
+ Assert.Equal("0", boundValue.Text);
+ Assert.Equal("0", mirrorValue.GetAttribute("value"));
+
+ // Modify target; verify value is updated and that textboxes linked to the same data are updated
+ // Leading zeros are not preserved
+ target.SendKeys("42");
+ Browser.Equal("042", () => target.GetAttribute("value"));
+ target.SendKeys("\t");
+ Browser.Equal("42", () => target.GetAttribute("value"));
+ Assert.Equal("42", boundValue.Text);
+ Assert.Equal("42", mirrorValue.GetAttribute("value"));
+ }
+
+ [Fact]
+ public void CanBindTextboxNullableShort()
+ {
+ var target = Browser.FindElement(By.Id("textbox-nullable-short"));
+ var boundValue = Browser.FindElement(By.Id("textbox-nullable-short-value"));
+ var mirrorValue = Browser.FindElement(By.Id("textbox-nullable-short-mirror"));
+ Assert.Equal(string.Empty, target.GetAttribute("value"));
+ Assert.Equal(string.Empty, boundValue.Text);
+ Assert.Equal(string.Empty, mirrorValue.GetAttribute("value"));
+
+ // Modify target; verify value is updated and that textboxes linked to the same data are updated
+ target.Clear();
+ Browser.Equal("", () => boundValue.Text);
+ Assert.Equal("", mirrorValue.GetAttribute("value"));
+
+ // Modify target; verify value is updated and that textboxes linked to the same data are updated
+ target.SendKeys("-42\t");
+ Browser.Equal("-42", () => boundValue.Text);
+ Assert.Equal("-42", mirrorValue.GetAttribute("value"));
+
+ // Modify target; verify value is updated and that textboxes linked to the same data are updated
+ target.Clear();
+ target.SendKeys("42\t");
+ Browser.Equal("42", () => boundValue.Text);
+ Assert.Equal("42", mirrorValue.GetAttribute("value"));
+
+ // Modify target; verify value is updated and that textboxes linked to the same data are updated
+ target.Clear();
+ target.SendKeys("\t");
+ Browser.Equal(string.Empty, () => boundValue.Text);
+ Assert.Equal(string.Empty, mirrorValue.GetAttribute("value"));
+ }
+
[Fact]
public void CanBindTextboxFloat()
{
diff --git a/src/Components/test/E2ETest/Tests/ComponentRenderingTest.cs b/src/Components/test/E2ETest/Tests/ComponentRenderingTest.cs
index ca9af22c99..372995c2f5 100644
--- a/src/Components/test/E2ETest/Tests/ComponentRenderingTest.cs
+++ b/src/Components/test/E2ETest/Tests/ComponentRenderingTest.cs
@@ -12,6 +12,7 @@ using BasicTestApp.HierarchicalImportsTest.Subdir;
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure;
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFixtures;
using Microsoft.AspNetCore.E2ETesting;
+using Microsoft.AspNetCore.Testing;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
using Xunit;
@@ -579,7 +580,7 @@ namespace Microsoft.AspNetCore.Components.E2ETest.Tests
}
[Fact]
- public void CanDispatchAsyncWorkToSyncContext()
+ public virtual void CanDispatchAsyncWorkToSyncContext()
{
var appElement = Browser.MountTestComponent();
var result = appElement.FindElement(By.Id("result"));
diff --git a/src/Components/test/E2ETest/Tests/EventTest.cs b/src/Components/test/E2ETest/Tests/EventTest.cs
index 06dbbb969f..d2fd55b195 100644
--- a/src/Components/test/E2ETest/Tests/EventTest.cs
+++ b/src/Components/test/E2ETest/Tests/EventTest.cs
@@ -167,7 +167,7 @@ namespace Microsoft.AspNetCore.Components.E2ETest.Tests
}
[Fact]
- [Flaky("https://github.com/dotnet/aspnetcore-internal/issues/1987", FlakyOn.AzP.Windows)]
+ [QuarantinedTest("https://github.com/dotnet/aspnetcore-internal/issues/1987")]
public void InputEvent_RespondsOnKeystrokes()
{
Browser.MountTestComponent();
diff --git a/src/Components/test/testassets/BasicTestApp/BindCasesComponent.razor b/src/Components/test/testassets/BasicTestApp/BindCasesComponent.razor
index 45d5eacdcc..fafd59d49b 100644
--- a/src/Components/test/testassets/BasicTestApp/BindCasesComponent.razor
+++ b/src/Components/test/testassets/BasicTestApp/BindCasesComponent.razor
@@ -50,6 +50,18 @@
@textboxNullableLongValue
+
+ short:
+
+ @textboxShortValue
+
+
+
+ Nullable short:
+
+ @textboxNullableShortValue
+
+
float:
@@ -328,6 +340,8 @@
int? textboxNullableIntValue = null;
long textboxLongValue = 3_000_000_000;
long? textboxNullableLongValue = null;
+ short textboxShortValue = -42;
+ short? textboxNullableShortValue = null;
float textboxFloatValue = 3.141f;
float? textboxNullableFloatValue = null;
double textboxDoubleValue = 3.14159265359d;
diff --git a/src/Components/test/testassets/BasicTestApp/GlobalizationBindCases.razor b/src/Components/test/testassets/BasicTestApp/GlobalizationBindCases.razor
index 5294f2b1df..04b93ea0d3 100644
--- a/src/Components/test/testassets/BasicTestApp/GlobalizationBindCases.razor
+++ b/src/Components/test/testassets/BasicTestApp/GlobalizationBindCases.razor
@@ -66,6 +66,10 @@
long:
@inputNumberLong
+
+ short:
+ @inputNumberShort
+
decimal:
@inputNumberDecimal
@@ -104,6 +108,7 @@
int inputNumberInt = 42;
long inputNumberLong = 4200;
+ short inputNumberShort = 42;
decimal inputNumberDecimal = 4.2m;
DateTime inputDateDateTime = new DateTime(1985, 3, 4);
diff --git a/src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj b/src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj
index 70fa2ddf5b..f695e4d3ee 100644
--- a/src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj
+++ b/src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj
@@ -53,8 +53,6 @@ This package is an internal implementation of the .NET Core SDK and is not meant
$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).0
$(ReferencePackSharedFxVersion)-$(VersionSuffix)
-
$(PlatformManifestOutputPath)
-
$(RepoRoot)eng\PlatformManifest.txt
@@ -157,7 +155,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
-
+
diff --git a/src/Hosting/Hosting/test/Internal/HostingEventSourceTests.cs b/src/Hosting/Hosting/test/Internal/HostingEventSourceTests.cs
index 8aba693e21..855b6a0160 100644
--- a/src/Hosting/Hosting/test/Internal/HostingEventSourceTests.cs
+++ b/src/Hosting/Hosting/test/Internal/HostingEventSourceTests.cs
@@ -106,7 +106,6 @@ namespace Microsoft.AspNetCore.Hosting
[Theory]
[MemberData(nameof(RequestStartData))]
- [Flaky("https://github.com/dotnet/aspnetcore-internal/issues/2230", FlakyOn.All)]
public void RequestStart(DefaultHttpContext httpContext, string[] expected)
{
// Arrange
diff --git a/src/Hosting/Hosting/test/WebHostTests.cs b/src/Hosting/Hosting/test/WebHostTests.cs
index d583823113..8b7e73c5b4 100644
--- a/src/Hosting/Hosting/test/WebHostTests.cs
+++ b/src/Hosting/Hosting/test/WebHostTests.cs
@@ -238,7 +238,6 @@ namespace Microsoft.AspNetCore.Hosting
}
[ConditionalFact]
- [Flaky("https://github.com/dotnet/aspnetcore-internal/issues/2244", FlakyOn.Helix.All)]
public async Task WebHostStopAsyncUsesDefaultTimeoutIfNoTokenProvided()
{
var data = new Dictionary
diff --git a/src/Http/Headers/ref/Microsoft.Net.Http.Headers.netcoreapp.cs b/src/Http/Headers/ref/Microsoft.Net.Http.Headers.netcoreapp.cs
index 41d44ad26d..74bfe68f38 100644
--- a/src/Http/Headers/ref/Microsoft.Net.Http.Headers.netcoreapp.cs
+++ b/src/Http/Headers/ref/Microsoft.Net.Http.Headers.netcoreapp.cs
@@ -200,6 +200,7 @@ namespace Microsoft.Net.Http.Headers
public static readonly string WebSocketSubProtocols;
public static readonly string WWWAuthenticate;
public static readonly string XFrameOptions;
+ public static readonly string XRequestedWith;
}
public static partial class HeaderQuality
{
diff --git a/src/Http/Headers/src/HeaderNames.cs b/src/Http/Headers/src/HeaderNames.cs
index 368cd8be46..5a30679fd8 100644
--- a/src/Http/Headers/src/HeaderNames.cs
+++ b/src/Http/Headers/src/HeaderNames.cs
@@ -88,5 +88,6 @@ namespace Microsoft.Net.Http.Headers
public static readonly string WebSocketSubProtocols = "Sec-WebSocket-Protocol";
public static readonly string WWWAuthenticate = "WWW-Authenticate";
public static readonly string XFrameOptions = "X-Frame-Options";
+ public static readonly string XRequestedWith = "X-Requested-With";
}
}
diff --git a/src/Identity/Extensions.Core/src/UserLoginInfo.cs b/src/Identity/Extensions.Core/src/UserLoginInfo.cs
index a05a12bb43..cc2cdddf35 100644
--- a/src/Identity/Extensions.Core/src/UserLoginInfo.cs
+++ b/src/Identity/Extensions.Core/src/UserLoginInfo.cs
@@ -47,6 +47,9 @@ namespace Microsoft.AspNetCore.Identity
///
/// The display name for the provider.
///
+ ///
+ /// Examples of the display name may be local, FACEBOOK, Google, etc.
+ ///
public string ProviderDisplayName { get; set; }
}
}
\ No newline at end of file
diff --git a/src/Identity/test/Identity.Test/IdentityUIScriptsTest.cs b/src/Identity/test/Identity.Test/IdentityUIScriptsTest.cs
index 96157ed4ea..005895f9c0 100644
--- a/src/Identity/test/Identity.Test/IdentityUIScriptsTest.cs
+++ b/src/Identity/test/Identity.Test/IdentityUIScriptsTest.cs
@@ -79,7 +79,7 @@ namespace Microsoft.AspNetCore.Identity.Test
[Theory]
[MemberData(nameof(ScriptWithFallbackSrcData))]
- [Flaky("https://github.com/dotnet/aspnetcore-internal/issues/2267", FlakyOn.AzP.macOS)]
+ [QuarantinedTest("https://github.com/dotnet/aspnetcore-internal/issues/2267")]
public async Task IdentityUI_ScriptTags_FallbackSourceContent_Matches_CDNContent(ScriptTag scriptTag)
{
var wwwrootDir = Path.Combine(GetProjectBasePath(), "wwwroot", scriptTag.Version);
diff --git a/src/Identity/test/InMemory.Test/FunctionalTest.cs b/src/Identity/test/InMemory.Test/FunctionalTest.cs
index b193bc16cd..a2609b4a43 100644
--- a/src/Identity/test/InMemory.Test/FunctionalTest.cs
+++ b/src/Identity/test/InMemory.Test/FunctionalTest.cs
@@ -18,6 +18,7 @@ using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity.Test;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
+using Microsoft.Net.Http.Headers;
using Xunit;
namespace Microsoft.AspNetCore.Identity.InMemory
@@ -425,7 +426,7 @@ namespace Microsoft.AspNetCore.Identity.InMemory
}
if (ajaxRequest)
{
- request.Headers.Add("X-Requested-With", "XMLHttpRequest");
+ request.Headers.Add(HeaderNames.XRequestedWith, "XMLHttpRequest");
}
var transaction = new Transaction
{
diff --git a/src/Middleware/WebSockets/test/UnitTests/WebSocketMiddlewareTests.cs b/src/Middleware/WebSockets/test/UnitTests/WebSocketMiddlewareTests.cs
index c4a2c64d83..b6bb307bbe 100644
--- a/src/Middleware/WebSockets/test/UnitTests/WebSocketMiddlewareTests.cs
+++ b/src/Middleware/WebSockets/test/UnitTests/WebSocketMiddlewareTests.cs
@@ -550,7 +550,6 @@ namespace Microsoft.AspNetCore.WebSockets.Test
}
[Fact]
- [Flaky("https://github.com/dotnet/aspnetcore/issues/8187", FlakyOn.Helix.All)]
public async Task OriginIsNotValidatedForNonWebSocketRequests()
{
using (var server = KestrelWebSocketHelpers.CreateServer(LoggerFactory, out var port, context =>
diff --git a/src/Mvc/test/Mvc.FunctionalTests/TempDataInCookiesUsingCookieConsentTest.cs b/src/Mvc/test/Mvc.FunctionalTests/TempDataInCookiesUsingCookieConsentTest.cs
index 14a4681180..546f862e21 100644
--- a/src/Mvc/test/Mvc.FunctionalTests/TempDataInCookiesUsingCookieConsentTest.cs
+++ b/src/Mvc/test/Mvc.FunctionalTests/TempDataInCookiesUsingCookieConsentTest.cs
@@ -30,7 +30,7 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests
builder.UseStartup();
[Fact]
- [Flaky("https://github.com/dotnet/aspnetcore-internal/issues/1803", FlakyOn.AzP.Windows)]
+ [QuarantinedTest("https://github.com/dotnet/aspnetcore-internal/issues/1803")]
public async Task CookieTempDataProviderCookie_SetInResponse_OnGrantingConsent()
{
// Arrange
@@ -64,7 +64,7 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests
}
[Fact]
- [Flaky("https://github.com/dotnet/aspnetcore-internal/issues/1803", FlakyOn.AzP.Windows)]
+ [QuarantinedTest("https://github.com/dotnet/aspnetcore-internal/issues/1803")]
public async Task CookieTempDataProviderCookie_NotSetInResponse_OnNoConsent()
{
// Arrange
diff --git a/src/ProjectTemplates/BlazorWasm.ProjectTemplates/content/BlazorWasm-CSharp/.template.config/template.json b/src/ProjectTemplates/BlazorWasm.ProjectTemplates/content/BlazorWasm-CSharp/.template.config/template.json
index 3297878253..e49f995289 100644
--- a/src/ProjectTemplates/BlazorWasm.ProjectTemplates/content/BlazorWasm-CSharp/.template.config/template.json
+++ b/src/ProjectTemplates/BlazorWasm.ProjectTemplates/content/BlazorWasm-CSharp/.template.config/template.json
@@ -10,7 +10,7 @@
"defaultName": "WebApplication",
"description": "A project template for creating a Blazor app that runs on WebAssembly and is optionally hosted by an ASP.NET Core app. This template can be used for web apps with rich dynamic user interfaces (UIs).",
"groupIdentity": "Microsoft.Web.Blazor.Wasm",
- "precedence": "6001",
+ "precedence": "7001",
"guids": [
"4C26868E-5E7C-458D-82E3-040509D0C71F",
"5990939C-7E7B-4CFA-86FF-44CA5756498A",
diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/.template.config/template.json b/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/.template.config/template.json
index 8a669b652a..66bfdc777b 100644
--- a/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/.template.config/template.json
+++ b/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/.template.config/template.json
@@ -9,10 +9,10 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "A project template for creating a Blazor server app that runs server-side inside an ASP.NET Core app and handles user interactions over a SignalR connection. This template can be used for web apps with rich dynamic user interfaces (UIs).",
"groupIdentity": "Microsoft.Web.Blazor.Server",
- "precedence": "6000",
- "identity": "Microsoft.Web.Blazor.Server.CSharp.3.1",
+ "precedence": "7000",
+ "identity": "Microsoft.Web.Blazor.Server.CSharp.5.0",
"shortName": "blazorserver",
- "thirdPartyNotices": "https://aka.ms/aspnetcore/3.1-third-party-notices",
+ "thirdPartyNotices": "https://aka.ms/aspnetcore/5.0-third-party-notices",
"tags": {
"language": "C#",
"type": "project"
diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-CSharp/.template.config/template.json b/src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-CSharp/.template.config/template.json
index 08c6bb56c8..caf1ab80e6 100644
--- a/src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-CSharp/.template.config/template.json
+++ b/src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-CSharp/.template.config/template.json
@@ -9,8 +9,8 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "An empty project template for creating an ASP.NET Core application. This template does not have any content in it.",
"groupIdentity": "Microsoft.Web.Empty",
- "precedence": "6000",
- "identity": "Microsoft.Web.Empty.CSharp.3.1",
+ "precedence": "7000",
+ "identity": "Microsoft.Web.Empty.CSharp.5.0",
"shortName": "web",
"tags": {
"language": "C#",
diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-FSharp/.template.config/template.json b/src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-FSharp/.template.config/template.json
index 7c9eb6c777..df7b62a169 100644
--- a/src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-FSharp/.template.config/template.json
+++ b/src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-FSharp/.template.config/template.json
@@ -8,8 +8,8 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "An empty project template for creating an ASP.NET Core application. This template does not have any content in it.",
"groupIdentity": "Microsoft.Web.Empty",
- "precedence": "6000",
- "identity": "Microsoft.Web.Empty.FSharp.3.1",
+ "precedence": "7000",
+ "identity": "Microsoft.Web.Empty.FSharp.5.0",
"shortName": "web",
"tags": {
"language": "F#",
diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/.template.config/template.json b/src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/.template.config/template.json
index 0b8a573d28..0ca933164a 100644
--- a/src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/.template.config/template.json
+++ b/src/ProjectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/.template.config/template.json
@@ -9,8 +9,8 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "A project template for creating a gRPC ASP.NET Core service.",
"groupIdentity": "Microsoft.Web.Grpc",
- "precedence": "6000",
- "identity": "Microsoft.Grpc.Service.CSharp.3.1",
+ "precedence": "7000",
+ "identity": "Microsoft.Grpc.Service.CSharp.5.0",
"shortName": "grpc",
"tags": {
"language": "C#",
diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/RazorClassLibrary-CSharp/.template.config/template.json b/src/ProjectTemplates/Web.ProjectTemplates/content/RazorClassLibrary-CSharp/.template.config/template.json
index 86a7607fa2..543e0bdd5d 100644
--- a/src/ProjectTemplates/Web.ProjectTemplates/content/RazorClassLibrary-CSharp/.template.config/template.json
+++ b/src/ProjectTemplates/Web.ProjectTemplates/content/RazorClassLibrary-CSharp/.template.config/template.json
@@ -10,8 +10,8 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "A project for creating a Razor class library that targets .NET Standard",
"groupIdentity": "Microsoft.Web.Razor",
- "precedence": "6000",
- "identity": "Microsoft.Web.Razor.Library.CSharp.3.1",
+ "precedence": "7000",
+ "identity": "Microsoft.Web.Razor.Library.CSharp.5.0",
"shortName": "razorclasslib",
"tags": {
"language": "C#",
diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/.template.config/template.json b/src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/.template.config/template.json
index 2d20ad2d45..81aacfa7e7 100644
--- a/src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/.template.config/template.json
+++ b/src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/.template.config/template.json
@@ -10,13 +10,13 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "A project template for creating an ASP.NET Core application with example ASP.NET Core Razor Pages content",
"groupIdentity": "Microsoft.Web.RazorPages",
- "precedence": "6000",
- "identity": "Microsoft.Web.RazorPages.CSharp.3.1",
+ "precedence": "7000",
+ "identity": "Microsoft.Web.RazorPages.CSharp.5.0",
"shortName": [
"webapp",
"razor"
],
- "thirdPartyNotices": "https://aka.ms/aspnetcore/3.1-third-party-notices",
+ "thirdPartyNotices": "https://aka.ms/aspnetcore/5.0-third-party-notices",
"tags": {
"language": "C#",
"type": "project"
diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/template.json b/src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/template.json
index b690f80eff..d846394fa9 100644
--- a/src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/template.json
+++ b/src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/.template.config/template.json
@@ -9,10 +9,10 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "A project template for creating an ASP.NET Core application with example ASP.NET Core MVC Views and Controllers. This template can also be used for RESTful HTTP services.",
"groupIdentity": "Microsoft.Web.Mvc",
- "precedence": "6000",
- "identity": "Microsoft.Web.Mvc.CSharp.3.1",
+ "precedence": "7000",
+ "identity": "Microsoft.Web.Mvc.CSharp.5.0",
"shortName": "mvc",
- "thirdPartyNotices": "https://aka.ms/aspnetcore/3.1-third-party-notices",
+ "thirdPartyNotices": "https://aka.ms/aspnetcore/5.0-third-party-notices",
"tags": {
"language": "C#",
"type": "project"
diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-FSharp/.template.config/template.json b/src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-FSharp/.template.config/template.json
index 487cdfc527..779cf7d82c 100644
--- a/src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-FSharp/.template.config/template.json
+++ b/src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-FSharp/.template.config/template.json
@@ -9,10 +9,10 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "A project template for creating an ASP.NET Core application with example ASP.NET Core MVC Views and Controllers. This template can also be used for RESTful HTTP services.",
"groupIdentity": "Microsoft.Web.Mvc",
- "precedence": "6000",
- "identity": "Microsoft.Web.Mvc.FSharp.3.1",
+ "precedence": "7000",
+ "identity": "Microsoft.Web.Mvc.FSharp.5.0",
"shortName": "mvc",
- "thirdPartyNotices": "https://aka.ms/aspnetcore/3.1-third-party-notices",
+ "thirdPartyNotices": "https://aka.ms/aspnetcore/5.0-third-party-notices",
"tags": {
"language": "F#",
"type": "project"
diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/template.json b/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/template.json
index 2de35fc292..9c560017be 100644
--- a/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/template.json
+++ b/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/.template.config/template.json
@@ -9,8 +9,8 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "A project template for creating an ASP.NET Core application with an example Controller for a RESTful HTTP service. This template can also be used for ASP.NET Core MVC Views and Controllers.",
"groupIdentity": "Microsoft.Web.WebApi",
- "precedence": "6000",
- "identity": "Microsoft.Web.WebApi.CSharp.3.1",
+ "precedence": "7000",
+ "identity": "Microsoft.Web.WebApi.CSharp.5.0",
"shortName": "webapi",
"tags": {
"language": "C#",
diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-FSharp/.template.config/template.json b/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-FSharp/.template.config/template.json
index e1639b58b9..b3f4e81300 100644
--- a/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-FSharp/.template.config/template.json
+++ b/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-FSharp/.template.config/template.json
@@ -8,8 +8,8 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "A project template for creating an ASP.NET Core application with an example Controller for a RESTful HTTP service. This template can also be used for ASP.NET Core MVC Views and Controllers.",
"groupIdentity": "Microsoft.Web.WebApi",
- "precedence": "6000",
- "identity": "Microsoft.Web.WebApi.FSharp.3.1",
+ "precedence": "7000",
+ "identity": "Microsoft.Web.WebApi.FSharp.5.0",
"shortName": "webapi",
"tags": {
"language": "F#",
diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/.template.config/template.json b/src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/.template.config/template.json
index 16156aef0d..fa3775c564 100644
--- a/src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/.template.config/template.json
+++ b/src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/.template.config/template.json
@@ -10,8 +10,8 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "An empty project template for creating a worker service.",
"groupIdentity": "Microsoft.Worker.Empty",
- "precedence": "6000",
- "identity": "Microsoft.Worker.Empty.CSharp.3.1",
+ "precedence": "7000",
+ "identity": "Microsoft.Worker.Empty.CSharp.5.0",
"shortName": "worker",
"tags": {
"language": "C#",
diff --git a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/.template.config/template.json b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/.template.config/template.json
index f0162aa616..fb376267c2 100644
--- a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/.template.config/template.json
+++ b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/.template.config/template.json
@@ -6,8 +6,8 @@
"SPA"
],
"groupIdentity": "Microsoft.DotNet.Web.Spa.ProjectTemplates.Angular",
- "precedence": "6000",
- "identity": "Microsoft.DotNet.Web.Spa.ProjectTemplates.Angular.CSharp.3.1",
+ "precedence": "7000",
+ "identity": "Microsoft.DotNet.Web.Spa.ProjectTemplates.Angular.CSharp.5.0",
"name": "ASP.NET Core with Angular",
"preferNameDirectory": true,
"primaryOutputs": [
diff --git a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/.template.config/template.json b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/.template.config/template.json
index 6490d8e061..4b2e6ad786 100644
--- a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/.template.config/template.json
+++ b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/.template.config/template.json
@@ -6,8 +6,8 @@
"SPA"
],
"groupIdentity": "Microsoft.DotNet.Web.Spa.ProjectTemplates.React",
- "precedence": "6000",
- "identity": "Microsoft.DotNet.Web.Spa.ProjectTemplates.React.CSharp.3.1",
+ "precedence": "7000",
+ "identity": "Microsoft.DotNet.Web.Spa.ProjectTemplates.React.CSharp.5.0",
"name": "ASP.NET Core with React.js",
"preferNameDirectory": true,
"primaryOutputs": [
diff --git a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/.template.config/template.json b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/.template.config/template.json
index 0f2945d10f..f32b4adac4 100644
--- a/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/.template.config/template.json
+++ b/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/.template.config/template.json
@@ -6,8 +6,8 @@
"SPA"
],
"groupIdentity": "Microsoft.DotNet.Web.Spa.ProjectTemplates.ReactRedux",
- "precedence": "6000",
- "identity": "Microsoft.DotNet.Web.Spa.ProjectTemplates.ReactRedux.CSharp.3.1",
+ "precedence": "7000",
+ "identity": "Microsoft.DotNet.Web.Spa.ProjectTemplates.ReactRedux.CSharp.5.0",
"name": "ASP.NET Core with React.js and Redux",
"preferNameDirectory": true,
"primaryOutputs": [
diff --git a/src/ProjectTemplates/test/SpaTemplateTest/ReactTemplateTest.cs b/src/ProjectTemplates/test/SpaTemplateTest/ReactTemplateTest.cs
index a2e1c1c368..9e591ff67d 100644
--- a/src/ProjectTemplates/test/SpaTemplateTest/ReactTemplateTest.cs
+++ b/src/ProjectTemplates/test/SpaTemplateTest/ReactTemplateTest.cs
@@ -22,6 +22,7 @@ namespace Templates.Test.SpaTemplateTest
public Task ReactTemplate_Works_NetCore()
=> SpaTemplateImplAsync("reactnoauth", "react", useLocalDb: false, usesAuth: false);
+ [QuarantinedTest]
[ConditionalFact]
[SkipOnHelix("selenium")]
public Task ReactTemplate_IndividualAuth_NetCore()
diff --git a/src/Security/Authentication/Cookies/src/CookieAuthenticationEvents.cs b/src/Security/Authentication/Cookies/src/CookieAuthenticationEvents.cs
index a6bb4e7d1c..a751c3eb53 100644
--- a/src/Security/Authentication/Cookies/src/CookieAuthenticationEvents.cs
+++ b/src/Security/Authentication/Cookies/src/CookieAuthenticationEvents.cs
@@ -9,7 +9,7 @@ using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNetCore.Authentication.Cookies
{
///
- /// This default implementation of the ICookieAuthenticationEvents may be used if the
+ /// This default implementation of the ICookieAuthenticationEvents may be used if the
/// application only needs to override a few of the interface methods. This may be used as a base class
/// or may be instantiated directly.
///
@@ -103,9 +103,9 @@ namespace Microsoft.AspNetCore.Authentication.Cookies
private static bool IsAjaxRequest(HttpRequest request)
{
- return string.Equals(request.Query["X-Requested-With"], "XMLHttpRequest", StringComparison.Ordinal) ||
- string.Equals(request.Headers["X-Requested-With"], "XMLHttpRequest", StringComparison.Ordinal);
- }
+ return string.Equals(request.Query[HeaderNames.XRequestedWith], "XMLHttpRequest", StringComparison.Ordinal) ||
+ string.Equals(request.Headers[HeaderNames.XRequestedWith], "XMLHttpRequest", StringComparison.Ordinal);
+ }
///
/// Implements the interface method by invoking the related delegate method.
diff --git a/src/Security/Authentication/Negotiate/test/Negotiate.Test/EventTests.cs b/src/Security/Authentication/Negotiate/test/Negotiate.Test/EventTests.cs
index 5ad64494b1..bc18f861b5 100644
--- a/src/Security/Authentication/Negotiate/test/Negotiate.Test/EventTests.cs
+++ b/src/Security/Authentication/Negotiate/test/Negotiate.Test/EventTests.cs
@@ -13,6 +13,7 @@ using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.AspNetCore.TestHost;
+using Microsoft.AspNetCore.Testing;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Net.Http.Headers;
@@ -20,6 +21,7 @@ using Xunit;
namespace Microsoft.AspNetCore.Authentication.Negotiate
{
+ [QuarantinedTest]
public class EventTests
{
[Fact]
diff --git a/src/Security/Authentication/Negotiate/test/Negotiate.Test/Microsoft.AspNetCore.Authentication.Negotiate.Test.csproj b/src/Security/Authentication/Negotiate/test/Negotiate.Test/Microsoft.AspNetCore.Authentication.Negotiate.Test.csproj
index 7af38dfa4a..3f483fc9e1 100644
--- a/src/Security/Authentication/Negotiate/test/Negotiate.Test/Microsoft.AspNetCore.Authentication.Negotiate.Test.csproj
+++ b/src/Security/Authentication/Negotiate/test/Negotiate.Test/Microsoft.AspNetCore.Authentication.Negotiate.Test.csproj
@@ -12,6 +12,7 @@
+
diff --git a/src/Security/Authentication/Negotiate/test/Negotiate.Test/NegotiateHandlerTests.cs b/src/Security/Authentication/Negotiate/test/Negotiate.Test/NegotiateHandlerTests.cs
index be6593e543..89685b286b 100644
--- a/src/Security/Authentication/Negotiate/test/Negotiate.Test/NegotiateHandlerTests.cs
+++ b/src/Security/Authentication/Negotiate/test/Negotiate.Test/NegotiateHandlerTests.cs
@@ -13,6 +13,7 @@ using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.AspNetCore.TestHost;
+using Microsoft.AspNetCore.Testing;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Net.Http.Headers;
@@ -21,6 +22,7 @@ using Xunit.Sdk;
namespace Microsoft.AspNetCore.Authentication.Negotiate
{
+ [QuarantinedTest]
public class NegotiateHandlerTests
{
[Fact]
diff --git a/src/Security/Authentication/Negotiate/test/Negotiate.Test/ServerDeferralTests.cs b/src/Security/Authentication/Negotiate/test/Negotiate.Test/ServerDeferralTests.cs
index eba5c12fea..e5cf8ca7b6 100644
--- a/src/Security/Authentication/Negotiate/test/Negotiate.Test/ServerDeferralTests.cs
+++ b/src/Security/Authentication/Negotiate/test/Negotiate.Test/ServerDeferralTests.cs
@@ -7,6 +7,7 @@ using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.Server;
using Microsoft.AspNetCore.TestHost;
+using Microsoft.AspNetCore.Testing;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options;
@@ -14,6 +15,7 @@ using Xunit;
namespace Microsoft.AspNetCore.Authentication.Negotiate
{
+ [QuarantinedTest]
public class ServerDeferralTests
{
[Fact]
diff --git a/src/Servers/HttpSys/test/FunctionalTests/Listener/RequestBodyTests.cs b/src/Servers/HttpSys/test/FunctionalTests/Listener/RequestBodyTests.cs
index 2f0308af9b..8e2860cf69 100644
--- a/src/Servers/HttpSys/test/FunctionalTests/Listener/RequestBodyTests.cs
+++ b/src/Servers/HttpSys/test/FunctionalTests/Listener/RequestBodyTests.cs
@@ -17,7 +17,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys.Listener
public class RequestBodyTests
{
[ConditionalFact]
- [Flaky("https://github.com/dotnet/aspnetcore-internal/issues/1826", FlakyOn.All)]
+ [QuarantinedTest("https://github.com/dotnet/aspnetcore-internal/issues/1826")]
public async Task RequestBody_SyncReadDisabledByDefault_WorksWhenEnabled()
{
string address;
@@ -142,7 +142,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys.Listener
}
[ConditionalFact]
- [Flaky("https://github.com/dotnet/aspnetcore-internal/issues/2206", FlakyOn.All)]
+ [QuarantinedTest("https://github.com/dotnet/aspnetcore-internal/issues/2206")]
public async Task RequestBody_ReadAsyncPartialBodyAndExpiredTimeout_Canceled()
{
StaggardContent content = new StaggardContent();
diff --git a/src/Servers/HttpSys/test/FunctionalTests/ResponseCachingTests.cs b/src/Servers/HttpSys/test/FunctionalTests/ResponseCachingTests.cs
index 2c45b352e3..1112420ed6 100644
--- a/src/Servers/HttpSys/test/FunctionalTests/ResponseCachingTests.cs
+++ b/src/Servers/HttpSys/test/FunctionalTests/ResponseCachingTests.cs
@@ -45,7 +45,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys.FunctionalTests
}
[ConditionalFact]
- [Flaky("https://github.com/dotnet/aspnetcore-internal/issues/2135", FlakyOn.All)]
+ [QuarantinedTest("https://github.com/dotnet/aspnetcore-internal/issues/2135")]
public async Task Caching_JustPublic_NotCached()
{
var requestCount = 1;
@@ -86,7 +86,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys.FunctionalTests
}
[ConditionalFact]
- [Flaky("https://github.com/dotnet/aspnetcore-internal/issues/2207", FlakyOn.All)]
+ [QuarantinedTest("https://github.com/dotnet/aspnetcore-internal/issues/2207")]
public async Task Caching_WithoutContentType_Cached_OnWin7AndWin2008R2()
{
if (Utilities.IsWin8orLater)
@@ -237,7 +237,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys.FunctionalTests
[ConditionalTheory]
[InlineData("0")]
[InlineData("-1")]
- [Flaky("https://github.com/dotnet/aspnetcore-internal/issues/2208", FlakyOn.All)]
+ [QuarantinedTest("https://github.com/dotnet/aspnetcore-internal/issues/2208")]
public async Task Caching_InvalidExpires_NotCached(string expiresValue)
{
var requestCount = 1;
@@ -378,7 +378,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys.FunctionalTests
}
[ConditionalFact]
- [Flaky("https://github.com/dotnet/aspnetcore-internal/issues/2209", FlakyOn.All)]
+ [QuarantinedTest("https://github.com/dotnet/aspnetcore-internal/issues/2209")]
public async Task Caching_VariousStatusCodes_Cached()
{
var requestCount = 1;
diff --git a/src/Servers/HttpSys/test/FunctionalTests/ServerTests.cs b/src/Servers/HttpSys/test/FunctionalTests/ServerTests.cs
index bf266025b4..fbea889de4 100644
--- a/src/Servers/HttpSys/test/FunctionalTests/ServerTests.cs
+++ b/src/Servers/HttpSys/test/FunctionalTests/ServerTests.cs
@@ -131,7 +131,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys
}
[ConditionalFact]
- [Flaky("https://github.com/dotnet/aspnetcore-internal/issues/2267", FlakyOn.All)]
+ [QuarantinedTest("https://github.com/dotnet/aspnetcore-internal/issues/2267")]
public async Task Server_ShutdownDuringRequest_Success()
{
Task responseTask;
diff --git a/src/Servers/IIS/AspNetCoreModuleV2/CommonLibTests/CommonLibTests.vcxproj b/src/Servers/IIS/AspNetCoreModuleV2/CommonLibTests/CommonLibTests.vcxproj
index a49803ecce..9f24c25f67 100644
--- a/src/Servers/IIS/AspNetCoreModuleV2/CommonLibTests/CommonLibTests.vcxproj
+++ b/src/Servers/IIS/AspNetCoreModuleV2/CommonLibTests/CommonLibTests.vcxproj
@@ -98,6 +98,7 @@
EnableFastChecks
MultiThreadedDebug
Level3
+ true
$(MSBuildThisFileDirectory)include;%(AdditionalIncludeDirectories);..\RequestHandlerLib;..\IISLib;..\CommonLib;$(GoogleTestSubmoduleRoot)googletest\include;$(GoogleTestSubmoduleRoot)googlemock\include;...\AspNetCore\Inc;..\InProcessRequestHandler\
/D "_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING"
stdcpp17
@@ -125,6 +126,7 @@
EnableFastChecks
MultiThreadedDebug
Level3
+ true
$(MSBuildThisFileDirectory)include;%(AdditionalIncludeDirectories);..\RequestHandlerLib;..\IISLib;..\CommonLib;$(GoogleTestSubmoduleRoot)googletest\include;$(GoogleTestSubmoduleRoot)googlemock\include;...\AspNetCore\Inc;..\InProcessRequestHandler\
/D "_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING"
stdcpp17
@@ -150,6 +152,7 @@
stdafx.h
MultiThreaded
Level3
+ true
ProgramDatabase
$(MSBuildThisFileDirectory)include;%(AdditionalIncludeDirectories);..\RequestHandlerLib;..\IISLib;..\CommonLib;$(GoogleTestSubmoduleRoot)googletest\include;$(GoogleTestSubmoduleRoot)googlemock\include;...\AspNetCore\Inc;..\InProcessRequestHandler\
/D "_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING"
@@ -179,6 +182,7 @@
stdafx.h
MultiThreaded
Level3
+ true
ProgramDatabase
$(MSBuildThisFileDirectory)include;%(AdditionalIncludeDirectories);..\RequestHandlerLib;..\IISLib;..\CommonLib;$(GoogleTestSubmoduleRoot)googletest\include;$(GoogleTestSubmoduleRoot)googlemock\include;...\AspNetCore\Inc;..\InProcessRequestHandler\
/D "_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING"
@@ -200,4 +204,4 @@
-
\ No newline at end of file
+
diff --git a/src/Servers/IIS/AspNetCoreModuleV2/CommonLibTests/dotnet_exe_path_tests.cpp b/src/Servers/IIS/AspNetCoreModuleV2/CommonLibTests/dotnet_exe_path_tests.cpp
index 1d767accde..b7b334059a 100644
--- a/src/Servers/IIS/AspNetCoreModuleV2/CommonLibTests/dotnet_exe_path_tests.cpp
+++ b/src/Servers/IIS/AspNetCoreModuleV2/CommonLibTests/dotnet_exe_path_tests.cpp
@@ -16,7 +16,6 @@ namespace InprocessTests
TEST(Dotnet_EXE_Path_Tests, EndWith_dotnet)
{
- HostFxrResolver resolver;
std::filesystem::path hostFxrDllPath;
std::vector arguments;
ErrorContext errorContext;
diff --git a/src/Servers/IIS/IIS/benchmarks/IIS.Performance/FirstRequestConfig.cs b/src/Servers/IIS/IIS/benchmarks/IIS.Performance/FirstRequestConfig.cs
index 727746871f..c048b28f8d 100644
--- a/src/Servers/IIS/IIS/benchmarks/IIS.Performance/FirstRequestConfig.cs
+++ b/src/Servers/IIS/IIS/benchmarks/IIS.Performance/FirstRequestConfig.cs
@@ -27,10 +27,10 @@ namespace BenchmarkDotNet.Attributes
Add(JitOptimizationsValidator.FailOnError);
- Add(Job.Core
+ Add(Job.Default
.With(CsProjCoreToolchain.From(NetCoreAppSettings.NetCoreApp21))
.With(new GcMode { Server = true })
- .WithTargetCount(10)
+ .WithIterationCount(10)
.WithInvocationCount(1)
.WithUnrollFactor(1)
.With(RunStrategy.ColdStart));
diff --git a/src/Servers/IIS/IIS/test/Common.FunctionalTests/AppOfflineTests.cs b/src/Servers/IIS/IIS/test/Common.FunctionalTests/AppOfflineTests.cs
index 13409c545d..89c44e719f 100644
--- a/src/Servers/IIS/IIS/test/Common.FunctionalTests/AppOfflineTests.cs
+++ b/src/Servers/IIS/IIS/test/Common.FunctionalTests/AppOfflineTests.cs
@@ -211,7 +211,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests
[ConditionalTheory]
[InlineData(HostingModel.InProcess)]
[InlineData(HostingModel.OutOfProcess)]
- [Flaky("https://github.com/dotnet/aspnetcore/issues/7075", FlakyOn.All)]
+ [QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/7075")]
public async Task AppOfflineAddedAndRemovedStress(HostingModel hostingModel)
{
var deploymentResult = await AssertStarts(hostingModel);
diff --git a/src/Servers/IIS/IIS/test/Common.FunctionalTests/ConfigurationChangeTests.cs b/src/Servers/IIS/IIS/test/Common.FunctionalTests/ConfigurationChangeTests.cs
index 92f581b156..66ffde7f20 100644
--- a/src/Servers/IIS/IIS/test/Common.FunctionalTests/ConfigurationChangeTests.cs
+++ b/src/Servers/IIS/IIS/test/Common.FunctionalTests/ConfigurationChangeTests.cs
@@ -79,7 +79,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests
[ConditionalTheory]
[InlineData(HostingModel.InProcess)]
[InlineData(HostingModel.OutOfProcess)]
- [Flaky("https://github.com/dotnet/aspnetcore-internal/issues/1794", FlakyOn.All)]
+ [QuarantinedTest("https://github.com/dotnet/aspnetcore-internal/issues/1794")]
public async Task ConfigurationTouchedStress(HostingModel hostingModel)
{
var deploymentResult = await DeployAsync(Fixture.GetBaseDeploymentParameters(hostingModel));
diff --git a/src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/FrebTests.cs b/src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/FrebTests.cs
index 68c1762048..7573fc021d 100644
--- a/src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/FrebTests.cs
+++ b/src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/FrebTests.cs
@@ -80,7 +80,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests.InProcess
// I think this test is flaky due to freb file not being created quickly enough.
// Adding extra logging, marking as flaky, and repeating should help
[ConditionalFact]
- [Flaky("https://github.com/dotnet/aspnetcore-internal/issues/2570", FlakyOn.Helix.All)]
+ [QuarantinedTest("https://github.com/dotnet/aspnetcore-internal/issues/2570")]
[Repeat(10)]
[RequiresIIS(IISCapability.FailedRequestTracingModule)]
public async Task CheckFrebDisconnect()
diff --git a/src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/SynchronousReadAndWriteTests.cs b/src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/SynchronousReadAndWriteTests.cs
index 72fcdeefd5..e896acc67c 100644
--- a/src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/SynchronousReadAndWriteTests.cs
+++ b/src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/SynchronousReadAndWriteTests.cs
@@ -22,7 +22,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests.InProcess
}
[ConditionalFact]
- [Flaky("https://github.com/dotnet/aspnetcore/issues/7341", FlakyOn.Helix.All)]
+ [QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/7341")]
public async Task ReadAndWriteSynchronously()
{
for (int i = 0; i < 100; i++)
diff --git a/src/Servers/IIS/IIS/test/Common.FunctionalTests/LogFileTests.cs b/src/Servers/IIS/IIS/test/Common.FunctionalTests/LogFileTests.cs
index 6a15e6f4b3..0a60187315 100644
--- a/src/Servers/IIS/IIS/test/Common.FunctionalTests/LogFileTests.cs
+++ b/src/Servers/IIS/IIS/test/Common.FunctionalTests/LogFileTests.cs
@@ -171,7 +171,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests
[ConditionalTheory]
[MemberData(nameof(TestVariants))]
- [Flaky("https://github.com/dotnet/aspnetcore-internal/issues/2200", FlakyOn.All)]
+ [QuarantinedTest("https://github.com/dotnet/aspnetcore-internal/issues/2200")]
public async Task CheckUTF8File(TestVariant variant)
{
var path = "CheckConsoleFunctions";
diff --git a/src/Servers/IIS/IIS/test/IIS.Tests/ClientDisconnectTests.cs b/src/Servers/IIS/IIS/test/IIS.Tests/ClientDisconnectTests.cs
index 5fe5d75a87..354b8a2229 100644
--- a/src/Servers/IIS/IIS/test/IIS.Tests/ClientDisconnectTests.cs
+++ b/src/Servers/IIS/IIS/test/IIS.Tests/ClientDisconnectTests.cs
@@ -225,7 +225,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests
}
[ConditionalFact]
- [Flaky("https://github.com/dotnet/aspnetcore-internal/issues/1817", FlakyOn.AzP.Windows)]
+ [QuarantinedTest("https://github.com/dotnet/aspnetcore-internal/issues/1817")]
public async Task ReaderThrowsResetExceptionOnInvalidBody()
{
var requestStartedCompletionSource = CreateTaskCompletionSource();
diff --git a/src/Servers/Kestrel/Core/src/Internal/Http/HttpHeaders.Generated.cs b/src/Servers/Kestrel/Core/src/Internal/Http/HttpHeaders.Generated.cs
index fff909e41c..516d7c32ec 100644
--- a/src/Servers/Kestrel/Core/src/Internal/Http/HttpHeaders.Generated.cs
+++ b/src/Servers/Kestrel/Core/src/Internal/Http/HttpHeaders.Generated.cs
@@ -14,6 +14,81 @@ using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure;
namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
+ internal enum KnownHeaderType
+ {
+ Unknown,
+ Accept,
+ AcceptCharset,
+ AcceptEncoding,
+ AcceptLanguage,
+ AcceptRanges,
+ AccessControlAllowCredentials,
+ AccessControlAllowHeaders,
+ AccessControlAllowMethods,
+ AccessControlAllowOrigin,
+ AccessControlExposeHeaders,
+ AccessControlMaxAge,
+ AccessControlRequestHeaders,
+ AccessControlRequestMethod,
+ Age,
+ Allow,
+ AltSvc,
+ Authority,
+ Authorization,
+ CacheControl,
+ Connection,
+ ContentEncoding,
+ ContentLanguage,
+ ContentLength,
+ ContentLocation,
+ ContentMD5,
+ ContentRange,
+ ContentType,
+ Cookie,
+ CorrelationContext,
+ Date,
+ DNT,
+ ETag,
+ Expect,
+ Expires,
+ From,
+ Host,
+ IfMatch,
+ IfModifiedSince,
+ IfNoneMatch,
+ IfRange,
+ IfUnmodifiedSince,
+ KeepAlive,
+ LastModified,
+ Location,
+ MaxForwards,
+ Method,
+ Origin,
+ Path,
+ Pragma,
+ ProxyAuthenticate,
+ ProxyAuthorization,
+ Range,
+ Referer,
+ RequestId,
+ RetryAfter,
+ Scheme,
+ Server,
+ SetCookie,
+ TE,
+ TraceParent,
+ TraceState,
+ Trailer,
+ TransferEncoding,
+ Translate,
+ Upgrade,
+ UpgradeInsecureRequests,
+ UserAgent,
+ Vary,
+ Via,
+ Warning,
+ WWWAuthenticate,
+ }
internal partial class HttpRequestHeaders
{
@@ -347,12 +422,80 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
_headers._LastModified = value;
}
}
- public StringValues HeaderAccept
+ public StringValues HeaderAuthority
{
get
{
StringValues value = default;
if ((_bits & 0x80000L) != 0)
+ {
+ value = _headers._Authority;
+ }
+ return value;
+ }
+ set
+ {
+ _bits |= 0x80000L;
+ _headers._Authority = value;
+ }
+ }
+ public StringValues HeaderMethod
+ {
+ get
+ {
+ StringValues value = default;
+ if ((_bits & 0x100000L) != 0)
+ {
+ value = _headers._Method;
+ }
+ return value;
+ }
+ set
+ {
+ _bits |= 0x100000L;
+ _headers._Method = value;
+ }
+ }
+ public StringValues HeaderPath
+ {
+ get
+ {
+ StringValues value = default;
+ if ((_bits & 0x200000L) != 0)
+ {
+ value = _headers._Path;
+ }
+ return value;
+ }
+ set
+ {
+ _bits |= 0x200000L;
+ _headers._Path = value;
+ }
+ }
+ public StringValues HeaderScheme
+ {
+ get
+ {
+ StringValues value = default;
+ if ((_bits & 0x400000L) != 0)
+ {
+ value = _headers._Scheme;
+ }
+ return value;
+ }
+ set
+ {
+ _bits |= 0x400000L;
+ _headers._Scheme = value;
+ }
+ }
+ public StringValues HeaderAccept
+ {
+ get
+ {
+ StringValues value = default;
+ if ((_bits & 0x800000L) != 0)
{
value = _headers._Accept;
}
@@ -360,7 +503,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x80000L;
+ _bits |= 0x800000L;
_headers._Accept = value;
}
}
@@ -369,7 +512,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x100000L) != 0)
+ if ((_bits & 0x1000000L) != 0)
{
value = _headers._AcceptCharset;
}
@@ -377,7 +520,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x100000L;
+ _bits |= 0x1000000L;
_headers._AcceptCharset = value;
}
}
@@ -386,7 +529,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x200000L) != 0)
+ if ((_bits & 0x2000000L) != 0)
{
value = _headers._AcceptEncoding;
}
@@ -394,7 +537,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x200000L;
+ _bits |= 0x2000000L;
_headers._AcceptEncoding = value;
}
}
@@ -403,7 +546,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x400000L) != 0)
+ if ((_bits & 0x4000000L) != 0)
{
value = _headers._AcceptLanguage;
}
@@ -411,7 +554,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x400000L;
+ _bits |= 0x4000000L;
_headers._AcceptLanguage = value;
}
}
@@ -420,7 +563,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x800000L) != 0)
+ if ((_bits & 0x8000000L) != 0)
{
value = _headers._Authorization;
}
@@ -428,7 +571,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x800000L;
+ _bits |= 0x8000000L;
_headers._Authorization = value;
}
}
@@ -437,7 +580,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x1000000L) != 0)
+ if ((_bits & 0x10000000L) != 0)
{
value = _headers._Cookie;
}
@@ -445,7 +588,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x1000000L;
+ _bits |= 0x10000000L;
_headers._Cookie = value;
}
}
@@ -454,7 +597,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x2000000L) != 0)
+ if ((_bits & 0x20000000L) != 0)
{
value = _headers._Expect;
}
@@ -462,7 +605,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x2000000L;
+ _bits |= 0x20000000L;
_headers._Expect = value;
}
}
@@ -471,7 +614,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x4000000L) != 0)
+ if ((_bits & 0x40000000L) != 0)
{
value = _headers._From;
}
@@ -479,7 +622,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x4000000L;
+ _bits |= 0x40000000L;
_headers._From = value;
}
}
@@ -488,7 +631,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x8000000L) != 0)
+ if ((_bits & 0x80000000L) != 0)
{
value = _headers._Host;
}
@@ -496,7 +639,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x8000000L;
+ _bits |= 0x80000000L;
_headers._Host = value;
}
}
@@ -505,7 +648,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x10000000L) != 0)
+ if ((_bits & 0x100000000L) != 0)
{
value = _headers._IfMatch;
}
@@ -513,7 +656,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x10000000L;
+ _bits |= 0x100000000L;
_headers._IfMatch = value;
}
}
@@ -522,7 +665,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x20000000L) != 0)
+ if ((_bits & 0x200000000L) != 0)
{
value = _headers._IfModifiedSince;
}
@@ -530,7 +673,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x20000000L;
+ _bits |= 0x200000000L;
_headers._IfModifiedSince = value;
}
}
@@ -539,7 +682,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x40000000L) != 0)
+ if ((_bits & 0x400000000L) != 0)
{
value = _headers._IfNoneMatch;
}
@@ -547,7 +690,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x40000000L;
+ _bits |= 0x400000000L;
_headers._IfNoneMatch = value;
}
}
@@ -556,7 +699,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x80000000L) != 0)
+ if ((_bits & 0x800000000L) != 0)
{
value = _headers._IfRange;
}
@@ -564,7 +707,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x80000000L;
+ _bits |= 0x800000000L;
_headers._IfRange = value;
}
}
@@ -573,7 +716,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x100000000L) != 0)
+ if ((_bits & 0x1000000000L) != 0)
{
value = _headers._IfUnmodifiedSince;
}
@@ -581,7 +724,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x100000000L;
+ _bits |= 0x1000000000L;
_headers._IfUnmodifiedSince = value;
}
}
@@ -590,7 +733,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x200000000L) != 0)
+ if ((_bits & 0x2000000000L) != 0)
{
value = _headers._MaxForwards;
}
@@ -598,7 +741,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x200000000L;
+ _bits |= 0x2000000000L;
_headers._MaxForwards = value;
}
}
@@ -607,7 +750,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x400000000L) != 0)
+ if ((_bits & 0x4000000000L) != 0)
{
value = _headers._ProxyAuthorization;
}
@@ -615,7 +758,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x400000000L;
+ _bits |= 0x4000000000L;
_headers._ProxyAuthorization = value;
}
}
@@ -624,7 +767,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x800000000L) != 0)
+ if ((_bits & 0x8000000000L) != 0)
{
value = _headers._Referer;
}
@@ -632,7 +775,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x800000000L;
+ _bits |= 0x8000000000L;
_headers._Referer = value;
}
}
@@ -641,7 +784,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x1000000000L) != 0)
+ if ((_bits & 0x10000000000L) != 0)
{
value = _headers._Range;
}
@@ -649,7 +792,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x1000000000L;
+ _bits |= 0x10000000000L;
_headers._Range = value;
}
}
@@ -658,7 +801,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x2000000000L) != 0)
+ if ((_bits & 0x20000000000L) != 0)
{
value = _headers._TE;
}
@@ -666,7 +809,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x2000000000L;
+ _bits |= 0x20000000000L;
_headers._TE = value;
}
}
@@ -675,7 +818,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x4000000000L) != 0)
+ if ((_bits & 0x40000000000L) != 0)
{
value = _headers._Translate;
}
@@ -683,7 +826,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x4000000000L;
+ _bits |= 0x40000000000L;
_headers._Translate = value;
}
}
@@ -692,7 +835,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x8000000000L) != 0)
+ if ((_bits & 0x80000000000L) != 0)
{
value = _headers._UserAgent;
}
@@ -700,7 +843,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x8000000000L;
+ _bits |= 0x80000000000L;
_headers._UserAgent = value;
}
}
@@ -709,7 +852,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x10000000000L) != 0)
+ if ((_bits & 0x100000000000L) != 0)
{
value = _headers._DNT;
}
@@ -717,7 +860,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x10000000000L;
+ _bits |= 0x100000000000L;
_headers._DNT = value;
}
}
@@ -726,7 +869,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x20000000000L) != 0)
+ if ((_bits & 0x200000000000L) != 0)
{
value = _headers._UpgradeInsecureRequests;
}
@@ -734,7 +877,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x20000000000L;
+ _bits |= 0x200000000000L;
_headers._UpgradeInsecureRequests = value;
}
}
@@ -743,7 +886,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x40000000000L) != 0)
+ if ((_bits & 0x400000000000L) != 0)
{
value = _headers._RequestId;
}
@@ -751,7 +894,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x40000000000L;
+ _bits |= 0x400000000000L;
_headers._RequestId = value;
}
}
@@ -760,7 +903,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x80000000000L) != 0)
+ if ((_bits & 0x800000000000L) != 0)
{
value = _headers._CorrelationContext;
}
@@ -768,7 +911,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x80000000000L;
+ _bits |= 0x800000000000L;
_headers._CorrelationContext = value;
}
}
@@ -777,7 +920,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x100000000000L) != 0)
+ if ((_bits & 0x1000000000000L) != 0)
{
value = _headers._TraceParent;
}
@@ -785,7 +928,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x100000000000L;
+ _bits |= 0x1000000000000L;
_headers._TraceParent = value;
}
}
@@ -794,7 +937,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x200000000000L) != 0)
+ if ((_bits & 0x2000000000000L) != 0)
{
value = _headers._TraceState;
}
@@ -802,7 +945,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x200000000000L;
+ _bits |= 0x2000000000000L;
_headers._TraceState = value;
}
}
@@ -811,7 +954,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x400000000000L) != 0)
+ if ((_bits & 0x4000000000000L) != 0)
{
value = _headers._Origin;
}
@@ -819,7 +962,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x400000000000L;
+ _bits |= 0x4000000000000L;
_headers._Origin = value;
}
}
@@ -828,7 +971,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x800000000000L) != 0)
+ if ((_bits & 0x8000000000000L) != 0)
{
value = _headers._AccessControlRequestMethod;
}
@@ -836,7 +979,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x800000000000L;
+ _bits |= 0x8000000000000L;
_headers._AccessControlRequestMethod = value;
}
}
@@ -845,7 +988,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
get
{
StringValues value = default;
- if ((_bits & 0x1000000000000L) != 0)
+ if ((_bits & 0x10000000000000L) != 0)
{
value = _headers._AccessControlRequestHeaders;
}
@@ -853,7 +996,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
set
{
- _bits |= 0x1000000000000L;
+ _bits |= 0x10000000000000L;
_headers._AccessControlRequestHeaders = value;
}
}
@@ -888,7 +1031,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.TE, key))
{
- if ((_bits & 0x2000000000L) != 0)
+ if ((_bits & 0x20000000000L) != 0)
{
value = _headers._TE;
return true;
@@ -898,7 +1041,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.TE.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x2000000000L) != 0)
+ if ((_bits & 0x20000000000L) != 0)
{
value = _headers._TE;
return true;
@@ -920,7 +1063,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.DNT, key))
{
- if ((_bits & 0x10000000000L) != 0)
+ if ((_bits & 0x100000000000L) != 0)
{
value = _headers._DNT;
return true;
@@ -939,7 +1082,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.DNT.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x10000000000L) != 0)
+ if ((_bits & 0x100000000000L) != 0)
{
value = _headers._DNT;
return true;
@@ -952,7 +1095,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.Host, key))
{
- if ((_bits & 0x8000000L) != 0)
+ if ((_bits & 0x80000000L) != 0)
{
value = _headers._Host;
return true;
@@ -970,7 +1113,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.From, key))
{
- if ((_bits & 0x4000000L) != 0)
+ if ((_bits & 0x40000000L) != 0)
{
value = _headers._From;
return true;
@@ -980,7 +1123,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.Host.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x8000000L) != 0)
+ if ((_bits & 0x80000000L) != 0)
{
value = _headers._Host;
return true;
@@ -998,7 +1141,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.From.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x4000000L) != 0)
+ if ((_bits & 0x40000000L) != 0)
{
value = _headers._From;
return true;
@@ -1009,6 +1152,15 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
case 5:
{
+ if (ReferenceEquals(HeaderNames.Path, key))
+ {
+ if ((_bits & 0x200000L) != 0)
+ {
+ value = _headers._Path;
+ return true;
+ }
+ return false;
+ }
if (ReferenceEquals(HeaderNames.Allow, key))
{
if ((_bits & 0x400L) != 0)
@@ -1020,7 +1172,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Range, key))
{
- if ((_bits & 0x1000000000L) != 0)
+ if ((_bits & 0x10000000000L) != 0)
{
value = _headers._Range;
return true;
@@ -1028,6 +1180,15 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
return false;
}
+ if (HeaderNames.Path.Equals(key, StringComparison.OrdinalIgnoreCase))
+ {
+ if ((_bits & 0x200000L) != 0)
+ {
+ value = _headers._Path;
+ return true;
+ }
+ return false;
+ }
if (HeaderNames.Allow.Equals(key, StringComparison.OrdinalIgnoreCase))
{
if ((_bits & 0x400L) != 0)
@@ -1039,7 +1200,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Range.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x1000000000L) != 0)
+ if ((_bits & 0x10000000000L) != 0)
{
value = _headers._Range;
return true;
@@ -1052,7 +1213,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.Accept, key))
{
- if ((_bits & 0x80000L) != 0)
+ if ((_bits & 0x800000L) != 0)
{
value = _headers._Accept;
return true;
@@ -1070,7 +1231,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Cookie, key))
{
- if ((_bits & 0x1000000L) != 0)
+ if ((_bits & 0x10000000L) != 0)
{
value = _headers._Cookie;
return true;
@@ -1079,7 +1240,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Expect, key))
{
- if ((_bits & 0x2000000L) != 0)
+ if ((_bits & 0x20000000L) != 0)
{
value = _headers._Expect;
return true;
@@ -1088,7 +1249,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Origin, key))
{
- if ((_bits & 0x400000000000L) != 0)
+ if ((_bits & 0x4000000000000L) != 0)
{
value = _headers._Origin;
return true;
@@ -1098,7 +1259,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.Accept.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x80000L) != 0)
+ if ((_bits & 0x800000L) != 0)
{
value = _headers._Accept;
return true;
@@ -1116,7 +1277,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Cookie.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x1000000L) != 0)
+ if ((_bits & 0x10000000L) != 0)
{
value = _headers._Cookie;
return true;
@@ -1125,7 +1286,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Expect.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x2000000L) != 0)
+ if ((_bits & 0x20000000L) != 0)
{
value = _headers._Expect;
return true;
@@ -1134,7 +1295,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Origin.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x400000000000L) != 0)
+ if ((_bits & 0x4000000000000L) != 0)
{
value = _headers._Origin;
return true;
@@ -1145,6 +1306,24 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
case 7:
{
+ if (ReferenceEquals(HeaderNames.Method, key))
+ {
+ if ((_bits & 0x100000L) != 0)
+ {
+ value = _headers._Method;
+ return true;
+ }
+ return false;
+ }
+ if (ReferenceEquals(HeaderNames.Scheme, key))
+ {
+ if ((_bits & 0x400000L) != 0)
+ {
+ value = _headers._Scheme;
+ return true;
+ }
+ return false;
+ }
if (ReferenceEquals(HeaderNames.Trailer, key))
{
if ((_bits & 0x20L) != 0)
@@ -1183,7 +1362,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Referer, key))
{
- if ((_bits & 0x800000000L) != 0)
+ if ((_bits & 0x8000000000L) != 0)
{
value = _headers._Referer;
return true;
@@ -1191,6 +1370,24 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
return false;
}
+ if (HeaderNames.Method.Equals(key, StringComparison.OrdinalIgnoreCase))
+ {
+ if ((_bits & 0x100000L) != 0)
+ {
+ value = _headers._Method;
+ return true;
+ }
+ return false;
+ }
+ if (HeaderNames.Scheme.Equals(key, StringComparison.OrdinalIgnoreCase))
+ {
+ if ((_bits & 0x400000L) != 0)
+ {
+ value = _headers._Scheme;
+ return true;
+ }
+ return false;
+ }
if (HeaderNames.Trailer.Equals(key, StringComparison.OrdinalIgnoreCase))
{
if ((_bits & 0x20L) != 0)
@@ -1229,7 +1426,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Referer.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x800000000L) != 0)
+ if ((_bits & 0x8000000000L) != 0)
{
value = _headers._Referer;
return true;
@@ -1242,7 +1439,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.IfMatch, key))
{
- if ((_bits & 0x10000000L) != 0)
+ if ((_bits & 0x100000000L) != 0)
{
value = _headers._IfMatch;
return true;
@@ -1251,7 +1448,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.IfRange, key))
{
- if ((_bits & 0x80000000L) != 0)
+ if ((_bits & 0x800000000L) != 0)
{
value = _headers._IfRange;
return true;
@@ -1261,7 +1458,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.IfMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x10000000L) != 0)
+ if ((_bits & 0x100000000L) != 0)
{
value = _headers._IfMatch;
return true;
@@ -1270,7 +1467,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.IfRange.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x80000000L) != 0)
+ if ((_bits & 0x800000000L) != 0)
{
value = _headers._IfRange;
return true;
@@ -1283,7 +1480,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.Translate, key))
{
- if ((_bits & 0x4000000000L) != 0)
+ if ((_bits & 0x40000000000L) != 0)
{
value = _headers._Translate;
return true;
@@ -1293,7 +1490,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.Translate.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x4000000000L) != 0)
+ if ((_bits & 0x40000000000L) != 0)
{
value = _headers._Translate;
return true;
@@ -1313,9 +1510,18 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
return false;
}
+ if (ReferenceEquals(HeaderNames.Authority, key))
+ {
+ if ((_bits & 0x80000L) != 0)
+ {
+ value = _headers._Authority;
+ return true;
+ }
+ return false;
+ }
if (ReferenceEquals(HeaderNames.UserAgent, key))
{
- if ((_bits & 0x8000000000L) != 0)
+ if ((_bits & 0x80000000000L) != 0)
{
value = _headers._UserAgent;
return true;
@@ -1333,7 +1539,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.RequestId, key))
{
- if ((_bits & 0x40000000000L) != 0)
+ if ((_bits & 0x400000000000L) != 0)
{
value = _headers._RequestId;
return true;
@@ -1342,7 +1548,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.TraceState, key))
{
- if ((_bits & 0x200000000000L) != 0)
+ if ((_bits & 0x2000000000000L) != 0)
{
value = _headers._TraceState;
return true;
@@ -1359,9 +1565,18 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
return false;
}
+ if (HeaderNames.Authority.Equals(key, StringComparison.OrdinalIgnoreCase))
+ {
+ if ((_bits & 0x80000L) != 0)
+ {
+ value = _headers._Authority;
+ return true;
+ }
+ return false;
+ }
if (HeaderNames.UserAgent.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x8000000000L) != 0)
+ if ((_bits & 0x80000000000L) != 0)
{
value = _headers._UserAgent;
return true;
@@ -1379,7 +1594,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.RequestId.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x40000000000L) != 0)
+ if ((_bits & 0x400000000000L) != 0)
{
value = _headers._RequestId;
return true;
@@ -1388,7 +1603,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.TraceState.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x200000000000L) != 0)
+ if ((_bits & 0x2000000000000L) != 0)
{
value = _headers._TraceState;
return true;
@@ -1410,7 +1625,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.TraceParent, key))
{
- if ((_bits & 0x100000000000L) != 0)
+ if ((_bits & 0x1000000000000L) != 0)
{
value = _headers._TraceParent;
return true;
@@ -1429,7 +1644,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.TraceParent.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x100000000000L) != 0)
+ if ((_bits & 0x1000000000000L) != 0)
{
value = _headers._TraceParent;
return true;
@@ -1451,7 +1666,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.MaxForwards, key))
{
- if ((_bits & 0x200000000L) != 0)
+ if ((_bits & 0x2000000000L) != 0)
{
value = _headers._MaxForwards;
return true;
@@ -1470,7 +1685,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.MaxForwards.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x200000000L) != 0)
+ if ((_bits & 0x2000000000L) != 0)
{
value = _headers._MaxForwards;
return true;
@@ -1510,7 +1725,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Authorization, key))
{
- if ((_bits & 0x800000L) != 0)
+ if ((_bits & 0x8000000L) != 0)
{
value = _headers._Authorization;
return true;
@@ -1519,7 +1734,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.IfNoneMatch, key))
{
- if ((_bits & 0x40000000L) != 0)
+ if ((_bits & 0x400000000L) != 0)
{
value = _headers._IfNoneMatch;
return true;
@@ -1556,7 +1771,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Authorization.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x800000L) != 0)
+ if ((_bits & 0x8000000L) != 0)
{
value = _headers._Authorization;
return true;
@@ -1565,7 +1780,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.IfNoneMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x40000000L) != 0)
+ if ((_bits & 0x400000000L) != 0)
{
value = _headers._IfNoneMatch;
return true;
@@ -1578,7 +1793,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.AcceptCharset, key))
{
- if ((_bits & 0x100000L) != 0)
+ if ((_bits & 0x1000000L) != 0)
{
value = _headers._AcceptCharset;
return true;
@@ -1597,7 +1812,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.AcceptCharset.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x100000L) != 0)
+ if ((_bits & 0x1000000L) != 0)
{
value = _headers._AcceptCharset;
return true;
@@ -1619,7 +1834,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.AcceptEncoding, key))
{
- if ((_bits & 0x200000L) != 0)
+ if ((_bits & 0x2000000L) != 0)
{
value = _headers._AcceptEncoding;
return true;
@@ -1628,7 +1843,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.AcceptLanguage, key))
{
- if ((_bits & 0x400000L) != 0)
+ if ((_bits & 0x4000000L) != 0)
{
value = _headers._AcceptLanguage;
return true;
@@ -1638,7 +1853,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.AcceptEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x200000L) != 0)
+ if ((_bits & 0x2000000L) != 0)
{
value = _headers._AcceptEncoding;
return true;
@@ -1647,7 +1862,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.AcceptLanguage.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x400000L) != 0)
+ if ((_bits & 0x4000000L) != 0)
{
value = _headers._AcceptLanguage;
return true;
@@ -1728,7 +1943,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.IfModifiedSince, key))
{
- if ((_bits & 0x20000000L) != 0)
+ if ((_bits & 0x200000000L) != 0)
{
value = _headers._IfModifiedSince;
return true;
@@ -1747,7 +1962,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.IfModifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x20000000L) != 0)
+ if ((_bits & 0x200000000L) != 0)
{
value = _headers._IfModifiedSince;
return true;
@@ -1760,7 +1975,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.IfUnmodifiedSince, key))
{
- if ((_bits & 0x100000000L) != 0)
+ if ((_bits & 0x1000000000L) != 0)
{
value = _headers._IfUnmodifiedSince;
return true;
@@ -1769,7 +1984,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.ProxyAuthorization, key))
{
- if ((_bits & 0x400000000L) != 0)
+ if ((_bits & 0x4000000000L) != 0)
{
value = _headers._ProxyAuthorization;
return true;
@@ -1778,7 +1993,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.CorrelationContext, key))
{
- if ((_bits & 0x80000000000L) != 0)
+ if ((_bits & 0x800000000000L) != 0)
{
value = _headers._CorrelationContext;
return true;
@@ -1788,7 +2003,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.IfUnmodifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x100000000L) != 0)
+ if ((_bits & 0x1000000000L) != 0)
{
value = _headers._IfUnmodifiedSince;
return true;
@@ -1797,7 +2012,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.ProxyAuthorization.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x400000000L) != 0)
+ if ((_bits & 0x4000000000L) != 0)
{
value = _headers._ProxyAuthorization;
return true;
@@ -1806,7 +2021,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.CorrelationContext.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x80000000000L) != 0)
+ if ((_bits & 0x800000000000L) != 0)
{
value = _headers._CorrelationContext;
return true;
@@ -1819,7 +2034,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.UpgradeInsecureRequests, key))
{
- if ((_bits & 0x20000000000L) != 0)
+ if ((_bits & 0x200000000000L) != 0)
{
value = _headers._UpgradeInsecureRequests;
return true;
@@ -1829,7 +2044,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.UpgradeInsecureRequests.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x20000000000L) != 0)
+ if ((_bits & 0x200000000000L) != 0)
{
value = _headers._UpgradeInsecureRequests;
return true;
@@ -1842,7 +2057,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.AccessControlRequestMethod, key))
{
- if ((_bits & 0x800000000000L) != 0)
+ if ((_bits & 0x8000000000000L) != 0)
{
value = _headers._AccessControlRequestMethod;
return true;
@@ -1852,7 +2067,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.AccessControlRequestMethod.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x800000000000L) != 0)
+ if ((_bits & 0x8000000000000L) != 0)
{
value = _headers._AccessControlRequestMethod;
return true;
@@ -1865,7 +2080,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.AccessControlRequestHeaders, key))
{
- if ((_bits & 0x1000000000000L) != 0)
+ if ((_bits & 0x10000000000000L) != 0)
{
value = _headers._AccessControlRequestHeaders;
return true;
@@ -1875,7 +2090,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.AccessControlRequestHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x1000000000000L) != 0)
+ if ((_bits & 0x10000000000000L) != 0)
{
value = _headers._AccessControlRequestHeaders;
return true;
@@ -1897,14 +2112,14 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.TE, key))
{
- _bits |= 0x2000000000L;
+ _bits |= 0x20000000000L;
_headers._TE = value;
return;
}
if (HeaderNames.TE.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x2000000000L;
+ _bits |= 0x20000000000L;
_headers._TE = value;
return;
}
@@ -1920,7 +2135,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.DNT, key))
{
- _bits |= 0x10000000000L;
+ _bits |= 0x100000000000L;
_headers._DNT = value;
return;
}
@@ -1933,7 +2148,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.DNT.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x10000000000L;
+ _bits |= 0x100000000000L;
_headers._DNT = value;
return;
}
@@ -1943,7 +2158,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.Host, key))
{
- _bits |= 0x8000000L;
+ _bits |= 0x80000000L;
_headers._Host = value;
return;
}
@@ -1955,14 +2170,14 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.From, key))
{
- _bits |= 0x4000000L;
+ _bits |= 0x40000000L;
_headers._From = value;
return;
}
if (HeaderNames.Host.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x8000000L;
+ _bits |= 0x80000000L;
_headers._Host = value;
return;
}
@@ -1974,7 +2189,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.From.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x4000000L;
+ _bits |= 0x40000000L;
_headers._From = value;
return;
}
@@ -1982,6 +2197,12 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
case 5:
{
+ if (ReferenceEquals(HeaderNames.Path, key))
+ {
+ _bits |= 0x200000L;
+ _headers._Path = value;
+ return;
+ }
if (ReferenceEquals(HeaderNames.Allow, key))
{
_bits |= 0x400L;
@@ -1990,11 +2211,17 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Range, key))
{
- _bits |= 0x1000000000L;
+ _bits |= 0x10000000000L;
_headers._Range = value;
return;
}
+ if (HeaderNames.Path.Equals(key, StringComparison.OrdinalIgnoreCase))
+ {
+ _bits |= 0x200000L;
+ _headers._Path = value;
+ return;
+ }
if (HeaderNames.Allow.Equals(key, StringComparison.OrdinalIgnoreCase))
{
_bits |= 0x400L;
@@ -2003,7 +2230,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Range.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x1000000000L;
+ _bits |= 0x10000000000L;
_headers._Range = value;
return;
}
@@ -2013,7 +2240,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.Accept, key))
{
- _bits |= 0x80000L;
+ _bits |= 0x800000L;
_headers._Accept = value;
return;
}
@@ -2025,26 +2252,26 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Cookie, key))
{
- _bits |= 0x1000000L;
+ _bits |= 0x10000000L;
_headers._Cookie = value;
return;
}
if (ReferenceEquals(HeaderNames.Expect, key))
{
- _bits |= 0x2000000L;
+ _bits |= 0x20000000L;
_headers._Expect = value;
return;
}
if (ReferenceEquals(HeaderNames.Origin, key))
{
- _bits |= 0x400000000000L;
+ _bits |= 0x4000000000000L;
_headers._Origin = value;
return;
}
if (HeaderNames.Accept.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x80000L;
+ _bits |= 0x800000L;
_headers._Accept = value;
return;
}
@@ -2056,19 +2283,19 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Cookie.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x1000000L;
+ _bits |= 0x10000000L;
_headers._Cookie = value;
return;
}
if (HeaderNames.Expect.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x2000000L;
+ _bits |= 0x20000000L;
_headers._Expect = value;
return;
}
if (HeaderNames.Origin.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x400000000000L;
+ _bits |= 0x4000000000000L;
_headers._Origin = value;
return;
}
@@ -2076,6 +2303,18 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
case 7:
{
+ if (ReferenceEquals(HeaderNames.Method, key))
+ {
+ _bits |= 0x100000L;
+ _headers._Method = value;
+ return;
+ }
+ if (ReferenceEquals(HeaderNames.Scheme, key))
+ {
+ _bits |= 0x400000L;
+ _headers._Scheme = value;
+ return;
+ }
if (ReferenceEquals(HeaderNames.Trailer, key))
{
_bits |= 0x20L;
@@ -2102,11 +2341,23 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Referer, key))
{
- _bits |= 0x800000000L;
+ _bits |= 0x8000000000L;
_headers._Referer = value;
return;
}
+ if (HeaderNames.Method.Equals(key, StringComparison.OrdinalIgnoreCase))
+ {
+ _bits |= 0x100000L;
+ _headers._Method = value;
+ return;
+ }
+ if (HeaderNames.Scheme.Equals(key, StringComparison.OrdinalIgnoreCase))
+ {
+ _bits |= 0x400000L;
+ _headers._Scheme = value;
+ return;
+ }
if (HeaderNames.Trailer.Equals(key, StringComparison.OrdinalIgnoreCase))
{
_bits |= 0x20L;
@@ -2133,7 +2384,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Referer.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x800000000L;
+ _bits |= 0x8000000000L;
_headers._Referer = value;
return;
}
@@ -2143,26 +2394,26 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.IfMatch, key))
{
- _bits |= 0x10000000L;
+ _bits |= 0x100000000L;
_headers._IfMatch = value;
return;
}
if (ReferenceEquals(HeaderNames.IfRange, key))
{
- _bits |= 0x80000000L;
+ _bits |= 0x800000000L;
_headers._IfRange = value;
return;
}
if (HeaderNames.IfMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x10000000L;
+ _bits |= 0x100000000L;
_headers._IfMatch = value;
return;
}
if (HeaderNames.IfRange.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x80000000L;
+ _bits |= 0x800000000L;
_headers._IfRange = value;
return;
}
@@ -2172,14 +2423,14 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.Translate, key))
{
- _bits |= 0x4000000000L;
+ _bits |= 0x40000000000L;
_headers._Translate = value;
return;
}
if (HeaderNames.Translate.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x4000000000L;
+ _bits |= 0x40000000000L;
_headers._Translate = value;
return;
}
@@ -2193,9 +2444,15 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
_headers._Connection = value;
return;
}
+ if (ReferenceEquals(HeaderNames.Authority, key))
+ {
+ _bits |= 0x80000L;
+ _headers._Authority = value;
+ return;
+ }
if (ReferenceEquals(HeaderNames.UserAgent, key))
{
- _bits |= 0x8000000000L;
+ _bits |= 0x80000000000L;
_headers._UserAgent = value;
return;
}
@@ -2207,13 +2464,13 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.RequestId, key))
{
- _bits |= 0x40000000000L;
+ _bits |= 0x400000000000L;
_headers._RequestId = value;
return;
}
if (ReferenceEquals(HeaderNames.TraceState, key))
{
- _bits |= 0x200000000000L;
+ _bits |= 0x2000000000000L;
_headers._TraceState = value;
return;
}
@@ -2224,9 +2481,15 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
_headers._Connection = value;
return;
}
+ if (HeaderNames.Authority.Equals(key, StringComparison.OrdinalIgnoreCase))
+ {
+ _bits |= 0x80000L;
+ _headers._Authority = value;
+ return;
+ }
if (HeaderNames.UserAgent.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x8000000000L;
+ _bits |= 0x80000000000L;
_headers._UserAgent = value;
return;
}
@@ -2238,13 +2501,13 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.RequestId.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x40000000000L;
+ _bits |= 0x400000000000L;
_headers._RequestId = value;
return;
}
if (HeaderNames.TraceState.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x200000000000L;
+ _bits |= 0x2000000000000L;
_headers._TraceState = value;
return;
}
@@ -2260,7 +2523,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.TraceParent, key))
{
- _bits |= 0x100000000000L;
+ _bits |= 0x1000000000000L;
_headers._TraceParent = value;
return;
}
@@ -2273,7 +2536,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.TraceParent.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x100000000000L;
+ _bits |= 0x1000000000000L;
_headers._TraceParent = value;
return;
}
@@ -2289,7 +2552,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.MaxForwards, key))
{
- _bits |= 0x200000000L;
+ _bits |= 0x2000000000L;
_headers._MaxForwards = value;
return;
}
@@ -2302,7 +2565,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.MaxForwards.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x200000000L;
+ _bits |= 0x2000000000L;
_headers._MaxForwards = value;
return;
}
@@ -2330,13 +2593,13 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Authorization, key))
{
- _bits |= 0x800000L;
+ _bits |= 0x8000000L;
_headers._Authorization = value;
return;
}
if (ReferenceEquals(HeaderNames.IfNoneMatch, key))
{
- _bits |= 0x40000000L;
+ _bits |= 0x400000000L;
_headers._IfNoneMatch = value;
return;
}
@@ -2361,13 +2624,13 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Authorization.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x800000L;
+ _bits |= 0x8000000L;
_headers._Authorization = value;
return;
}
if (HeaderNames.IfNoneMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x40000000L;
+ _bits |= 0x400000000L;
_headers._IfNoneMatch = value;
return;
}
@@ -2377,7 +2640,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.AcceptCharset, key))
{
- _bits |= 0x100000L;
+ _bits |= 0x1000000L;
_headers._AcceptCharset = value;
return;
}
@@ -2389,7 +2652,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.AcceptCharset.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x100000L;
+ _bits |= 0x1000000L;
_headers._AcceptCharset = value;
return;
}
@@ -2404,26 +2667,26 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.AcceptEncoding, key))
{
- _bits |= 0x200000L;
+ _bits |= 0x2000000L;
_headers._AcceptEncoding = value;
return;
}
if (ReferenceEquals(HeaderNames.AcceptLanguage, key))
{
- _bits |= 0x400000L;
+ _bits |= 0x4000000L;
_headers._AcceptLanguage = value;
return;
}
if (HeaderNames.AcceptEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x200000L;
+ _bits |= 0x2000000L;
_headers._AcceptEncoding = value;
return;
}
if (HeaderNames.AcceptLanguage.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x400000L;
+ _bits |= 0x4000000L;
_headers._AcceptLanguage = value;
return;
}
@@ -2480,7 +2743,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.IfModifiedSince, key))
{
- _bits |= 0x20000000L;
+ _bits |= 0x200000000L;
_headers._IfModifiedSince = value;
return;
}
@@ -2493,7 +2756,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.IfModifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x20000000L;
+ _bits |= 0x200000000L;
_headers._IfModifiedSince = value;
return;
}
@@ -2503,38 +2766,38 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.IfUnmodifiedSince, key))
{
- _bits |= 0x100000000L;
+ _bits |= 0x1000000000L;
_headers._IfUnmodifiedSince = value;
return;
}
if (ReferenceEquals(HeaderNames.ProxyAuthorization, key))
{
- _bits |= 0x400000000L;
+ _bits |= 0x4000000000L;
_headers._ProxyAuthorization = value;
return;
}
if (ReferenceEquals(HeaderNames.CorrelationContext, key))
{
- _bits |= 0x80000000000L;
+ _bits |= 0x800000000000L;
_headers._CorrelationContext = value;
return;
}
if (HeaderNames.IfUnmodifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x100000000L;
+ _bits |= 0x1000000000L;
_headers._IfUnmodifiedSince = value;
return;
}
if (HeaderNames.ProxyAuthorization.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x400000000L;
+ _bits |= 0x4000000000L;
_headers._ProxyAuthorization = value;
return;
}
if (HeaderNames.CorrelationContext.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x80000000000L;
+ _bits |= 0x800000000000L;
_headers._CorrelationContext = value;
return;
}
@@ -2544,14 +2807,14 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.UpgradeInsecureRequests, key))
{
- _bits |= 0x20000000000L;
+ _bits |= 0x200000000000L;
_headers._UpgradeInsecureRequests = value;
return;
}
if (HeaderNames.UpgradeInsecureRequests.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x20000000000L;
+ _bits |= 0x200000000000L;
_headers._UpgradeInsecureRequests = value;
return;
}
@@ -2561,14 +2824,14 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.AccessControlRequestMethod, key))
{
- _bits |= 0x800000000000L;
+ _bits |= 0x8000000000000L;
_headers._AccessControlRequestMethod = value;
return;
}
if (HeaderNames.AccessControlRequestMethod.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x800000000000L;
+ _bits |= 0x8000000000000L;
_headers._AccessControlRequestMethod = value;
return;
}
@@ -2578,14 +2841,14 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.AccessControlRequestHeaders, key))
{
- _bits |= 0x1000000000000L;
+ _bits |= 0x10000000000000L;
_headers._AccessControlRequestHeaders = value;
return;
}
if (HeaderNames.AccessControlRequestHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- _bits |= 0x1000000000000L;
+ _bits |= 0x10000000000000L;
_headers._AccessControlRequestHeaders = value;
return;
}
@@ -2604,9 +2867,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.TE, key))
{
- if ((_bits & 0x2000000000L) == 0)
+ if ((_bits & 0x20000000000L) == 0)
{
- _bits |= 0x2000000000L;
+ _bits |= 0x20000000000L;
_headers._TE = value;
return true;
}
@@ -2615,9 +2878,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.TE.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x2000000000L) == 0)
+ if ((_bits & 0x20000000000L) == 0)
{
- _bits |= 0x2000000000L;
+ _bits |= 0x20000000000L;
_headers._TE = value;
return true;
}
@@ -2639,9 +2902,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.DNT, key))
{
- if ((_bits & 0x10000000000L) == 0)
+ if ((_bits & 0x100000000000L) == 0)
{
- _bits |= 0x10000000000L;
+ _bits |= 0x100000000000L;
_headers._DNT = value;
return true;
}
@@ -2660,9 +2923,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.DNT.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x10000000000L) == 0)
+ if ((_bits & 0x100000000000L) == 0)
{
- _bits |= 0x10000000000L;
+ _bits |= 0x100000000000L;
_headers._DNT = value;
return true;
}
@@ -2674,9 +2937,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.Host, key))
{
- if ((_bits & 0x8000000L) == 0)
+ if ((_bits & 0x80000000L) == 0)
{
- _bits |= 0x8000000L;
+ _bits |= 0x80000000L;
_headers._Host = value;
return true;
}
@@ -2694,9 +2957,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.From, key))
{
- if ((_bits & 0x4000000L) == 0)
+ if ((_bits & 0x40000000L) == 0)
{
- _bits |= 0x4000000L;
+ _bits |= 0x40000000L;
_headers._From = value;
return true;
}
@@ -2705,9 +2968,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.Host.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x8000000L) == 0)
+ if ((_bits & 0x80000000L) == 0)
{
- _bits |= 0x8000000L;
+ _bits |= 0x80000000L;
_headers._Host = value;
return true;
}
@@ -2725,9 +2988,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.From.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x4000000L) == 0)
+ if ((_bits & 0x40000000L) == 0)
{
- _bits |= 0x4000000L;
+ _bits |= 0x40000000L;
_headers._From = value;
return true;
}
@@ -2737,6 +3000,16 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
case 5:
{
+ if (ReferenceEquals(HeaderNames.Path, key))
+ {
+ if ((_bits & 0x200000L) == 0)
+ {
+ _bits |= 0x200000L;
+ _headers._Path = value;
+ return true;
+ }
+ return false;
+ }
if (ReferenceEquals(HeaderNames.Allow, key))
{
if ((_bits & 0x400L) == 0)
@@ -2749,15 +3022,25 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Range, key))
{
- if ((_bits & 0x1000000000L) == 0)
+ if ((_bits & 0x10000000000L) == 0)
{
- _bits |= 0x1000000000L;
+ _bits |= 0x10000000000L;
_headers._Range = value;
return true;
}
return false;
}
+ if (HeaderNames.Path.Equals(key, StringComparison.OrdinalIgnoreCase))
+ {
+ if ((_bits & 0x200000L) == 0)
+ {
+ _bits |= 0x200000L;
+ _headers._Path = value;
+ return true;
+ }
+ return false;
+ }
if (HeaderNames.Allow.Equals(key, StringComparison.OrdinalIgnoreCase))
{
if ((_bits & 0x400L) == 0)
@@ -2770,9 +3053,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Range.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x1000000000L) == 0)
+ if ((_bits & 0x10000000000L) == 0)
{
- _bits |= 0x1000000000L;
+ _bits |= 0x10000000000L;
_headers._Range = value;
return true;
}
@@ -2784,9 +3067,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.Accept, key))
{
- if ((_bits & 0x80000L) == 0)
+ if ((_bits & 0x800000L) == 0)
{
- _bits |= 0x80000L;
+ _bits |= 0x800000L;
_headers._Accept = value;
return true;
}
@@ -2804,9 +3087,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Cookie, key))
{
- if ((_bits & 0x1000000L) == 0)
+ if ((_bits & 0x10000000L) == 0)
{
- _bits |= 0x1000000L;
+ _bits |= 0x10000000L;
_headers._Cookie = value;
return true;
}
@@ -2814,9 +3097,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Expect, key))
{
- if ((_bits & 0x2000000L) == 0)
+ if ((_bits & 0x20000000L) == 0)
{
- _bits |= 0x2000000L;
+ _bits |= 0x20000000L;
_headers._Expect = value;
return true;
}
@@ -2824,9 +3107,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Origin, key))
{
- if ((_bits & 0x400000000000L) == 0)
+ if ((_bits & 0x4000000000000L) == 0)
{
- _bits |= 0x400000000000L;
+ _bits |= 0x4000000000000L;
_headers._Origin = value;
return true;
}
@@ -2835,9 +3118,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.Accept.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x80000L) == 0)
+ if ((_bits & 0x800000L) == 0)
{
- _bits |= 0x80000L;
+ _bits |= 0x800000L;
_headers._Accept = value;
return true;
}
@@ -2855,9 +3138,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Cookie.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x1000000L) == 0)
+ if ((_bits & 0x10000000L) == 0)
{
- _bits |= 0x1000000L;
+ _bits |= 0x10000000L;
_headers._Cookie = value;
return true;
}
@@ -2865,9 +3148,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Expect.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x2000000L) == 0)
+ if ((_bits & 0x20000000L) == 0)
{
- _bits |= 0x2000000L;
+ _bits |= 0x20000000L;
_headers._Expect = value;
return true;
}
@@ -2875,9 +3158,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Origin.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x400000000000L) == 0)
+ if ((_bits & 0x4000000000000L) == 0)
{
- _bits |= 0x400000000000L;
+ _bits |= 0x4000000000000L;
_headers._Origin = value;
return true;
}
@@ -2887,6 +3170,26 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
case 7:
{
+ if (ReferenceEquals(HeaderNames.Method, key))
+ {
+ if ((_bits & 0x100000L) == 0)
+ {
+ _bits |= 0x100000L;
+ _headers._Method = value;
+ return true;
+ }
+ return false;
+ }
+ if (ReferenceEquals(HeaderNames.Scheme, key))
+ {
+ if ((_bits & 0x400000L) == 0)
+ {
+ _bits |= 0x400000L;
+ _headers._Scheme = value;
+ return true;
+ }
+ return false;
+ }
if (ReferenceEquals(HeaderNames.Trailer, key))
{
if ((_bits & 0x20L) == 0)
@@ -2929,15 +3232,35 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Referer, key))
{
- if ((_bits & 0x800000000L) == 0)
+ if ((_bits & 0x8000000000L) == 0)
{
- _bits |= 0x800000000L;
+ _bits |= 0x8000000000L;
_headers._Referer = value;
return true;
}
return false;
}
+ if (HeaderNames.Method.Equals(key, StringComparison.OrdinalIgnoreCase))
+ {
+ if ((_bits & 0x100000L) == 0)
+ {
+ _bits |= 0x100000L;
+ _headers._Method = value;
+ return true;
+ }
+ return false;
+ }
+ if (HeaderNames.Scheme.Equals(key, StringComparison.OrdinalIgnoreCase))
+ {
+ if ((_bits & 0x400000L) == 0)
+ {
+ _bits |= 0x400000L;
+ _headers._Scheme = value;
+ return true;
+ }
+ return false;
+ }
if (HeaderNames.Trailer.Equals(key, StringComparison.OrdinalIgnoreCase))
{
if ((_bits & 0x20L) == 0)
@@ -2980,9 +3303,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Referer.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x800000000L) == 0)
+ if ((_bits & 0x8000000000L) == 0)
{
- _bits |= 0x800000000L;
+ _bits |= 0x8000000000L;
_headers._Referer = value;
return true;
}
@@ -2994,9 +3317,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.IfMatch, key))
{
- if ((_bits & 0x10000000L) == 0)
+ if ((_bits & 0x100000000L) == 0)
{
- _bits |= 0x10000000L;
+ _bits |= 0x100000000L;
_headers._IfMatch = value;
return true;
}
@@ -3004,9 +3327,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.IfRange, key))
{
- if ((_bits & 0x80000000L) == 0)
+ if ((_bits & 0x800000000L) == 0)
{
- _bits |= 0x80000000L;
+ _bits |= 0x800000000L;
_headers._IfRange = value;
return true;
}
@@ -3015,9 +3338,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.IfMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x10000000L) == 0)
+ if ((_bits & 0x100000000L) == 0)
{
- _bits |= 0x10000000L;
+ _bits |= 0x100000000L;
_headers._IfMatch = value;
return true;
}
@@ -3025,9 +3348,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.IfRange.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x80000000L) == 0)
+ if ((_bits & 0x800000000L) == 0)
{
- _bits |= 0x80000000L;
+ _bits |= 0x800000000L;
_headers._IfRange = value;
return true;
}
@@ -3039,9 +3362,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.Translate, key))
{
- if ((_bits & 0x4000000000L) == 0)
+ if ((_bits & 0x40000000000L) == 0)
{
- _bits |= 0x4000000000L;
+ _bits |= 0x40000000000L;
_headers._Translate = value;
return true;
}
@@ -3050,9 +3373,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.Translate.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x4000000000L) == 0)
+ if ((_bits & 0x40000000000L) == 0)
{
- _bits |= 0x4000000000L;
+ _bits |= 0x40000000000L;
_headers._Translate = value;
return true;
}
@@ -3072,11 +3395,21 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
return false;
}
+ if (ReferenceEquals(HeaderNames.Authority, key))
+ {
+ if ((_bits & 0x80000L) == 0)
+ {
+ _bits |= 0x80000L;
+ _headers._Authority = value;
+ return true;
+ }
+ return false;
+ }
if (ReferenceEquals(HeaderNames.UserAgent, key))
{
- if ((_bits & 0x8000000000L) == 0)
+ if ((_bits & 0x80000000000L) == 0)
{
- _bits |= 0x8000000000L;
+ _bits |= 0x80000000000L;
_headers._UserAgent = value;
return true;
}
@@ -3094,9 +3427,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.RequestId, key))
{
- if ((_bits & 0x40000000000L) == 0)
+ if ((_bits & 0x400000000000L) == 0)
{
- _bits |= 0x40000000000L;
+ _bits |= 0x400000000000L;
_headers._RequestId = value;
return true;
}
@@ -3104,9 +3437,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.TraceState, key))
{
- if ((_bits & 0x200000000000L) == 0)
+ if ((_bits & 0x2000000000000L) == 0)
{
- _bits |= 0x200000000000L;
+ _bits |= 0x2000000000000L;
_headers._TraceState = value;
return true;
}
@@ -3123,11 +3456,21 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
return false;
}
+ if (HeaderNames.Authority.Equals(key, StringComparison.OrdinalIgnoreCase))
+ {
+ if ((_bits & 0x80000L) == 0)
+ {
+ _bits |= 0x80000L;
+ _headers._Authority = value;
+ return true;
+ }
+ return false;
+ }
if (HeaderNames.UserAgent.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x8000000000L) == 0)
+ if ((_bits & 0x80000000000L) == 0)
{
- _bits |= 0x8000000000L;
+ _bits |= 0x80000000000L;
_headers._UserAgent = value;
return true;
}
@@ -3145,9 +3488,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.RequestId.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x40000000000L) == 0)
+ if ((_bits & 0x400000000000L) == 0)
{
- _bits |= 0x40000000000L;
+ _bits |= 0x400000000000L;
_headers._RequestId = value;
return true;
}
@@ -3155,9 +3498,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.TraceState.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x200000000000L) == 0)
+ if ((_bits & 0x2000000000000L) == 0)
{
- _bits |= 0x200000000000L;
+ _bits |= 0x2000000000000L;
_headers._TraceState = value;
return true;
}
@@ -3179,9 +3522,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.TraceParent, key))
{
- if ((_bits & 0x100000000000L) == 0)
+ if ((_bits & 0x1000000000000L) == 0)
{
- _bits |= 0x100000000000L;
+ _bits |= 0x1000000000000L;
_headers._TraceParent = value;
return true;
}
@@ -3200,9 +3543,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.TraceParent.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x100000000000L) == 0)
+ if ((_bits & 0x1000000000000L) == 0)
{
- _bits |= 0x100000000000L;
+ _bits |= 0x1000000000000L;
_headers._TraceParent = value;
return true;
}
@@ -3224,9 +3567,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.MaxForwards, key))
{
- if ((_bits & 0x200000000L) == 0)
+ if ((_bits & 0x2000000000L) == 0)
{
- _bits |= 0x200000000L;
+ _bits |= 0x2000000000L;
_headers._MaxForwards = value;
return true;
}
@@ -3245,9 +3588,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.MaxForwards.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x200000000L) == 0)
+ if ((_bits & 0x2000000000L) == 0)
{
- _bits |= 0x200000000L;
+ _bits |= 0x2000000000L;
_headers._MaxForwards = value;
return true;
}
@@ -3289,9 +3632,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Authorization, key))
{
- if ((_bits & 0x800000L) == 0)
+ if ((_bits & 0x8000000L) == 0)
{
- _bits |= 0x800000L;
+ _bits |= 0x8000000L;
_headers._Authorization = value;
return true;
}
@@ -3299,9 +3642,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.IfNoneMatch, key))
{
- if ((_bits & 0x40000000L) == 0)
+ if ((_bits & 0x400000000L) == 0)
{
- _bits |= 0x40000000L;
+ _bits |= 0x400000000L;
_headers._IfNoneMatch = value;
return true;
}
@@ -3340,9 +3683,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Authorization.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x800000L) == 0)
+ if ((_bits & 0x8000000L) == 0)
{
- _bits |= 0x800000L;
+ _bits |= 0x8000000L;
_headers._Authorization = value;
return true;
}
@@ -3350,9 +3693,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.IfNoneMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x40000000L) == 0)
+ if ((_bits & 0x400000000L) == 0)
{
- _bits |= 0x40000000L;
+ _bits |= 0x400000000L;
_headers._IfNoneMatch = value;
return true;
}
@@ -3364,9 +3707,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.AcceptCharset, key))
{
- if ((_bits & 0x100000L) == 0)
+ if ((_bits & 0x1000000L) == 0)
{
- _bits |= 0x100000L;
+ _bits |= 0x1000000L;
_headers._AcceptCharset = value;
return true;
}
@@ -3384,9 +3727,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.AcceptCharset.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x100000L) == 0)
+ if ((_bits & 0x1000000L) == 0)
{
- _bits |= 0x100000L;
+ _bits |= 0x1000000L;
_headers._AcceptCharset = value;
return true;
}
@@ -3407,9 +3750,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.AcceptEncoding, key))
{
- if ((_bits & 0x200000L) == 0)
+ if ((_bits & 0x2000000L) == 0)
{
- _bits |= 0x200000L;
+ _bits |= 0x2000000L;
_headers._AcceptEncoding = value;
return true;
}
@@ -3417,9 +3760,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.AcceptLanguage, key))
{
- if ((_bits & 0x400000L) == 0)
+ if ((_bits & 0x4000000L) == 0)
{
- _bits |= 0x400000L;
+ _bits |= 0x4000000L;
_headers._AcceptLanguage = value;
return true;
}
@@ -3428,9 +3771,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.AcceptEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x200000L) == 0)
+ if ((_bits & 0x2000000L) == 0)
{
- _bits |= 0x200000L;
+ _bits |= 0x2000000L;
_headers._AcceptEncoding = value;
return true;
}
@@ -3438,9 +3781,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.AcceptLanguage.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x400000L) == 0)
+ if ((_bits & 0x4000000L) == 0)
{
- _bits |= 0x400000L;
+ _bits |= 0x4000000L;
_headers._AcceptLanguage = value;
return true;
}
@@ -3527,9 +3870,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.IfModifiedSince, key))
{
- if ((_bits & 0x20000000L) == 0)
+ if ((_bits & 0x200000000L) == 0)
{
- _bits |= 0x20000000L;
+ _bits |= 0x200000000L;
_headers._IfModifiedSince = value;
return true;
}
@@ -3548,9 +3891,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.IfModifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x20000000L) == 0)
+ if ((_bits & 0x200000000L) == 0)
{
- _bits |= 0x20000000L;
+ _bits |= 0x200000000L;
_headers._IfModifiedSince = value;
return true;
}
@@ -3562,9 +3905,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.IfUnmodifiedSince, key))
{
- if ((_bits & 0x100000000L) == 0)
+ if ((_bits & 0x1000000000L) == 0)
{
- _bits |= 0x100000000L;
+ _bits |= 0x1000000000L;
_headers._IfUnmodifiedSince = value;
return true;
}
@@ -3572,9 +3915,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.ProxyAuthorization, key))
{
- if ((_bits & 0x400000000L) == 0)
+ if ((_bits & 0x4000000000L) == 0)
{
- _bits |= 0x400000000L;
+ _bits |= 0x4000000000L;
_headers._ProxyAuthorization = value;
return true;
}
@@ -3582,9 +3925,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.CorrelationContext, key))
{
- if ((_bits & 0x80000000000L) == 0)
+ if ((_bits & 0x800000000000L) == 0)
{
- _bits |= 0x80000000000L;
+ _bits |= 0x800000000000L;
_headers._CorrelationContext = value;
return true;
}
@@ -3593,9 +3936,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.IfUnmodifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x100000000L) == 0)
+ if ((_bits & 0x1000000000L) == 0)
{
- _bits |= 0x100000000L;
+ _bits |= 0x1000000000L;
_headers._IfUnmodifiedSince = value;
return true;
}
@@ -3603,9 +3946,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.ProxyAuthorization.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x400000000L) == 0)
+ if ((_bits & 0x4000000000L) == 0)
{
- _bits |= 0x400000000L;
+ _bits |= 0x4000000000L;
_headers._ProxyAuthorization = value;
return true;
}
@@ -3613,9 +3956,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.CorrelationContext.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x80000000000L) == 0)
+ if ((_bits & 0x800000000000L) == 0)
{
- _bits |= 0x80000000000L;
+ _bits |= 0x800000000000L;
_headers._CorrelationContext = value;
return true;
}
@@ -3627,9 +3970,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.UpgradeInsecureRequests, key))
{
- if ((_bits & 0x20000000000L) == 0)
+ if ((_bits & 0x200000000000L) == 0)
{
- _bits |= 0x20000000000L;
+ _bits |= 0x200000000000L;
_headers._UpgradeInsecureRequests = value;
return true;
}
@@ -3638,9 +3981,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.UpgradeInsecureRequests.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x20000000000L) == 0)
+ if ((_bits & 0x200000000000L) == 0)
{
- _bits |= 0x20000000000L;
+ _bits |= 0x200000000000L;
_headers._UpgradeInsecureRequests = value;
return true;
}
@@ -3652,9 +3995,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.AccessControlRequestMethod, key))
{
- if ((_bits & 0x800000000000L) == 0)
+ if ((_bits & 0x8000000000000L) == 0)
{
- _bits |= 0x800000000000L;
+ _bits |= 0x8000000000000L;
_headers._AccessControlRequestMethod = value;
return true;
}
@@ -3663,9 +4006,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.AccessControlRequestMethod.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x800000000000L) == 0)
+ if ((_bits & 0x8000000000000L) == 0)
{
- _bits |= 0x800000000000L;
+ _bits |= 0x8000000000000L;
_headers._AccessControlRequestMethod = value;
return true;
}
@@ -3677,9 +4020,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.AccessControlRequestHeaders, key))
{
- if ((_bits & 0x1000000000000L) == 0)
+ if ((_bits & 0x10000000000000L) == 0)
{
- _bits |= 0x1000000000000L;
+ _bits |= 0x10000000000000L;
_headers._AccessControlRequestHeaders = value;
return true;
}
@@ -3688,9 +4031,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.AccessControlRequestHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x1000000000000L) == 0)
+ if ((_bits & 0x10000000000000L) == 0)
{
- _bits |= 0x1000000000000L;
+ _bits |= 0x10000000000000L;
_headers._AccessControlRequestHeaders = value;
return true;
}
@@ -3711,9 +4054,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.TE, key))
{
- if ((_bits & 0x2000000000L) != 0)
+ if ((_bits & 0x20000000000L) != 0)
{
- _bits &= ~0x2000000000L;
+ _bits &= ~0x20000000000L;
_headers._TE = default(StringValues);
return true;
}
@@ -3722,9 +4065,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.TE.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x2000000000L) != 0)
+ if ((_bits & 0x20000000000L) != 0)
{
- _bits &= ~0x2000000000L;
+ _bits &= ~0x20000000000L;
_headers._TE = default(StringValues);
return true;
}
@@ -3746,9 +4089,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.DNT, key))
{
- if ((_bits & 0x10000000000L) != 0)
+ if ((_bits & 0x100000000000L) != 0)
{
- _bits &= ~0x10000000000L;
+ _bits &= ~0x100000000000L;
_headers._DNT = default(StringValues);
return true;
}
@@ -3767,9 +4110,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.DNT.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x10000000000L) != 0)
+ if ((_bits & 0x100000000000L) != 0)
{
- _bits &= ~0x10000000000L;
+ _bits &= ~0x100000000000L;
_headers._DNT = default(StringValues);
return true;
}
@@ -3781,9 +4124,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.Host, key))
{
- if ((_bits & 0x8000000L) != 0)
+ if ((_bits & 0x80000000L) != 0)
{
- _bits &= ~0x8000000L;
+ _bits &= ~0x80000000L;
_headers._Host = default(StringValues);
return true;
}
@@ -3801,9 +4144,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.From, key))
{
- if ((_bits & 0x4000000L) != 0)
+ if ((_bits & 0x40000000L) != 0)
{
- _bits &= ~0x4000000L;
+ _bits &= ~0x40000000L;
_headers._From = default(StringValues);
return true;
}
@@ -3812,9 +4155,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.Host.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x8000000L) != 0)
+ if ((_bits & 0x80000000L) != 0)
{
- _bits &= ~0x8000000L;
+ _bits &= ~0x80000000L;
_headers._Host = default(StringValues);
return true;
}
@@ -3832,9 +4175,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.From.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x4000000L) != 0)
+ if ((_bits & 0x40000000L) != 0)
{
- _bits &= ~0x4000000L;
+ _bits &= ~0x40000000L;
_headers._From = default(StringValues);
return true;
}
@@ -3844,6 +4187,16 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
case 5:
{
+ if (ReferenceEquals(HeaderNames.Path, key))
+ {
+ if ((_bits & 0x200000L) != 0)
+ {
+ _bits &= ~0x200000L;
+ _headers._Path = default(StringValues);
+ return true;
+ }
+ return false;
+ }
if (ReferenceEquals(HeaderNames.Allow, key))
{
if ((_bits & 0x400L) != 0)
@@ -3856,15 +4209,25 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Range, key))
{
- if ((_bits & 0x1000000000L) != 0)
+ if ((_bits & 0x10000000000L) != 0)
{
- _bits &= ~0x1000000000L;
+ _bits &= ~0x10000000000L;
_headers._Range = default(StringValues);
return true;
}
return false;
}
+ if (HeaderNames.Path.Equals(key, StringComparison.OrdinalIgnoreCase))
+ {
+ if ((_bits & 0x200000L) != 0)
+ {
+ _bits &= ~0x200000L;
+ _headers._Path = default(StringValues);
+ return true;
+ }
+ return false;
+ }
if (HeaderNames.Allow.Equals(key, StringComparison.OrdinalIgnoreCase))
{
if ((_bits & 0x400L) != 0)
@@ -3877,9 +4240,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Range.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x1000000000L) != 0)
+ if ((_bits & 0x10000000000L) != 0)
{
- _bits &= ~0x1000000000L;
+ _bits &= ~0x10000000000L;
_headers._Range = default(StringValues);
return true;
}
@@ -3891,9 +4254,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.Accept, key))
{
- if ((_bits & 0x80000L) != 0)
+ if ((_bits & 0x800000L) != 0)
{
- _bits &= ~0x80000L;
+ _bits &= ~0x800000L;
_headers._Accept = default(StringValues);
return true;
}
@@ -3911,9 +4274,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Cookie, key))
{
- if ((_bits & 0x1000000L) != 0)
+ if ((_bits & 0x10000000L) != 0)
{
- _bits &= ~0x1000000L;
+ _bits &= ~0x10000000L;
_headers._Cookie = default(StringValues);
return true;
}
@@ -3921,9 +4284,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Expect, key))
{
- if ((_bits & 0x2000000L) != 0)
+ if ((_bits & 0x20000000L) != 0)
{
- _bits &= ~0x2000000L;
+ _bits &= ~0x20000000L;
_headers._Expect = default(StringValues);
return true;
}
@@ -3931,9 +4294,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Origin, key))
{
- if ((_bits & 0x400000000000L) != 0)
+ if ((_bits & 0x4000000000000L) != 0)
{
- _bits &= ~0x400000000000L;
+ _bits &= ~0x4000000000000L;
_headers._Origin = default(StringValues);
return true;
}
@@ -3942,9 +4305,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.Accept.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x80000L) != 0)
+ if ((_bits & 0x800000L) != 0)
{
- _bits &= ~0x80000L;
+ _bits &= ~0x800000L;
_headers._Accept = default(StringValues);
return true;
}
@@ -3962,9 +4325,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Cookie.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x1000000L) != 0)
+ if ((_bits & 0x10000000L) != 0)
{
- _bits &= ~0x1000000L;
+ _bits &= ~0x10000000L;
_headers._Cookie = default(StringValues);
return true;
}
@@ -3972,9 +4335,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Expect.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x2000000L) != 0)
+ if ((_bits & 0x20000000L) != 0)
{
- _bits &= ~0x2000000L;
+ _bits &= ~0x20000000L;
_headers._Expect = default(StringValues);
return true;
}
@@ -3982,9 +4345,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Origin.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x400000000000L) != 0)
+ if ((_bits & 0x4000000000000L) != 0)
{
- _bits &= ~0x400000000000L;
+ _bits &= ~0x4000000000000L;
_headers._Origin = default(StringValues);
return true;
}
@@ -3994,6 +4357,26 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
case 7:
{
+ if (ReferenceEquals(HeaderNames.Method, key))
+ {
+ if ((_bits & 0x100000L) != 0)
+ {
+ _bits &= ~0x100000L;
+ _headers._Method = default(StringValues);
+ return true;
+ }
+ return false;
+ }
+ if (ReferenceEquals(HeaderNames.Scheme, key))
+ {
+ if ((_bits & 0x400000L) != 0)
+ {
+ _bits &= ~0x400000L;
+ _headers._Scheme = default(StringValues);
+ return true;
+ }
+ return false;
+ }
if (ReferenceEquals(HeaderNames.Trailer, key))
{
if ((_bits & 0x20L) != 0)
@@ -4036,15 +4419,35 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Referer, key))
{
- if ((_bits & 0x800000000L) != 0)
+ if ((_bits & 0x8000000000L) != 0)
{
- _bits &= ~0x800000000L;
+ _bits &= ~0x8000000000L;
_headers._Referer = default(StringValues);
return true;
}
return false;
}
+ if (HeaderNames.Method.Equals(key, StringComparison.OrdinalIgnoreCase))
+ {
+ if ((_bits & 0x100000L) != 0)
+ {
+ _bits &= ~0x100000L;
+ _headers._Method = default(StringValues);
+ return true;
+ }
+ return false;
+ }
+ if (HeaderNames.Scheme.Equals(key, StringComparison.OrdinalIgnoreCase))
+ {
+ if ((_bits & 0x400000L) != 0)
+ {
+ _bits &= ~0x400000L;
+ _headers._Scheme = default(StringValues);
+ return true;
+ }
+ return false;
+ }
if (HeaderNames.Trailer.Equals(key, StringComparison.OrdinalIgnoreCase))
{
if ((_bits & 0x20L) != 0)
@@ -4087,9 +4490,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Referer.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x800000000L) != 0)
+ if ((_bits & 0x8000000000L) != 0)
{
- _bits &= ~0x800000000L;
+ _bits &= ~0x8000000000L;
_headers._Referer = default(StringValues);
return true;
}
@@ -4101,9 +4504,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.IfMatch, key))
{
- if ((_bits & 0x10000000L) != 0)
+ if ((_bits & 0x100000000L) != 0)
{
- _bits &= ~0x10000000L;
+ _bits &= ~0x100000000L;
_headers._IfMatch = default(StringValues);
return true;
}
@@ -4111,9 +4514,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.IfRange, key))
{
- if ((_bits & 0x80000000L) != 0)
+ if ((_bits & 0x800000000L) != 0)
{
- _bits &= ~0x80000000L;
+ _bits &= ~0x800000000L;
_headers._IfRange = default(StringValues);
return true;
}
@@ -4122,9 +4525,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.IfMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x10000000L) != 0)
+ if ((_bits & 0x100000000L) != 0)
{
- _bits &= ~0x10000000L;
+ _bits &= ~0x100000000L;
_headers._IfMatch = default(StringValues);
return true;
}
@@ -4132,9 +4535,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.IfRange.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x80000000L) != 0)
+ if ((_bits & 0x800000000L) != 0)
{
- _bits &= ~0x80000000L;
+ _bits &= ~0x800000000L;
_headers._IfRange = default(StringValues);
return true;
}
@@ -4146,9 +4549,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.Translate, key))
{
- if ((_bits & 0x4000000000L) != 0)
+ if ((_bits & 0x40000000000L) != 0)
{
- _bits &= ~0x4000000000L;
+ _bits &= ~0x40000000000L;
_headers._Translate = default(StringValues);
return true;
}
@@ -4157,9 +4560,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.Translate.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x4000000000L) != 0)
+ if ((_bits & 0x40000000000L) != 0)
{
- _bits &= ~0x4000000000L;
+ _bits &= ~0x40000000000L;
_headers._Translate = default(StringValues);
return true;
}
@@ -4179,11 +4582,21 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
return false;
}
+ if (ReferenceEquals(HeaderNames.Authority, key))
+ {
+ if ((_bits & 0x80000L) != 0)
+ {
+ _bits &= ~0x80000L;
+ _headers._Authority = default(StringValues);
+ return true;
+ }
+ return false;
+ }
if (ReferenceEquals(HeaderNames.UserAgent, key))
{
- if ((_bits & 0x8000000000L) != 0)
+ if ((_bits & 0x80000000000L) != 0)
{
- _bits &= ~0x8000000000L;
+ _bits &= ~0x80000000000L;
_headers._UserAgent = default(StringValues);
return true;
}
@@ -4201,9 +4614,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.RequestId, key))
{
- if ((_bits & 0x40000000000L) != 0)
+ if ((_bits & 0x400000000000L) != 0)
{
- _bits &= ~0x40000000000L;
+ _bits &= ~0x400000000000L;
_headers._RequestId = default(StringValues);
return true;
}
@@ -4211,9 +4624,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.TraceState, key))
{
- if ((_bits & 0x200000000000L) != 0)
+ if ((_bits & 0x2000000000000L) != 0)
{
- _bits &= ~0x200000000000L;
+ _bits &= ~0x2000000000000L;
_headers._TraceState = default(StringValues);
return true;
}
@@ -4230,11 +4643,21 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
return false;
}
+ if (HeaderNames.Authority.Equals(key, StringComparison.OrdinalIgnoreCase))
+ {
+ if ((_bits & 0x80000L) != 0)
+ {
+ _bits &= ~0x80000L;
+ _headers._Authority = default(StringValues);
+ return true;
+ }
+ return false;
+ }
if (HeaderNames.UserAgent.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x8000000000L) != 0)
+ if ((_bits & 0x80000000000L) != 0)
{
- _bits &= ~0x8000000000L;
+ _bits &= ~0x80000000000L;
_headers._UserAgent = default(StringValues);
return true;
}
@@ -4252,9 +4675,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.RequestId.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x40000000000L) != 0)
+ if ((_bits & 0x400000000000L) != 0)
{
- _bits &= ~0x40000000000L;
+ _bits &= ~0x400000000000L;
_headers._RequestId = default(StringValues);
return true;
}
@@ -4262,9 +4685,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.TraceState.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x200000000000L) != 0)
+ if ((_bits & 0x2000000000000L) != 0)
{
- _bits &= ~0x200000000000L;
+ _bits &= ~0x2000000000000L;
_headers._TraceState = default(StringValues);
return true;
}
@@ -4286,9 +4709,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.TraceParent, key))
{
- if ((_bits & 0x100000000000L) != 0)
+ if ((_bits & 0x1000000000000L) != 0)
{
- _bits &= ~0x100000000000L;
+ _bits &= ~0x1000000000000L;
_headers._TraceParent = default(StringValues);
return true;
}
@@ -4307,9 +4730,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.TraceParent.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x100000000000L) != 0)
+ if ((_bits & 0x1000000000000L) != 0)
{
- _bits &= ~0x100000000000L;
+ _bits &= ~0x1000000000000L;
_headers._TraceParent = default(StringValues);
return true;
}
@@ -4331,9 +4754,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.MaxForwards, key))
{
- if ((_bits & 0x200000000L) != 0)
+ if ((_bits & 0x2000000000L) != 0)
{
- _bits &= ~0x200000000L;
+ _bits &= ~0x2000000000L;
_headers._MaxForwards = default(StringValues);
return true;
}
@@ -4352,9 +4775,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.MaxForwards.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x200000000L) != 0)
+ if ((_bits & 0x2000000000L) != 0)
{
- _bits &= ~0x200000000L;
+ _bits &= ~0x2000000000L;
_headers._MaxForwards = default(StringValues);
return true;
}
@@ -4396,9 +4819,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.Authorization, key))
{
- if ((_bits & 0x800000L) != 0)
+ if ((_bits & 0x8000000L) != 0)
{
- _bits &= ~0x800000L;
+ _bits &= ~0x8000000L;
_headers._Authorization = default(StringValues);
return true;
}
@@ -4406,9 +4829,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.IfNoneMatch, key))
{
- if ((_bits & 0x40000000L) != 0)
+ if ((_bits & 0x400000000L) != 0)
{
- _bits &= ~0x40000000L;
+ _bits &= ~0x400000000L;
_headers._IfNoneMatch = default(StringValues);
return true;
}
@@ -4447,9 +4870,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.Authorization.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x800000L) != 0)
+ if ((_bits & 0x8000000L) != 0)
{
- _bits &= ~0x800000L;
+ _bits &= ~0x8000000L;
_headers._Authorization = default(StringValues);
return true;
}
@@ -4457,9 +4880,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.IfNoneMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x40000000L) != 0)
+ if ((_bits & 0x400000000L) != 0)
{
- _bits &= ~0x40000000L;
+ _bits &= ~0x400000000L;
_headers._IfNoneMatch = default(StringValues);
return true;
}
@@ -4471,9 +4894,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.AcceptCharset, key))
{
- if ((_bits & 0x100000L) != 0)
+ if ((_bits & 0x1000000L) != 0)
{
- _bits &= ~0x100000L;
+ _bits &= ~0x1000000L;
_headers._AcceptCharset = default(StringValues);
return true;
}
@@ -4491,9 +4914,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.AcceptCharset.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x100000L) != 0)
+ if ((_bits & 0x1000000L) != 0)
{
- _bits &= ~0x100000L;
+ _bits &= ~0x1000000L;
_headers._AcceptCharset = default(StringValues);
return true;
}
@@ -4514,9 +4937,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.AcceptEncoding, key))
{
- if ((_bits & 0x200000L) != 0)
+ if ((_bits & 0x2000000L) != 0)
{
- _bits &= ~0x200000L;
+ _bits &= ~0x2000000L;
_headers._AcceptEncoding = default(StringValues);
return true;
}
@@ -4524,9 +4947,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.AcceptLanguage, key))
{
- if ((_bits & 0x400000L) != 0)
+ if ((_bits & 0x4000000L) != 0)
{
- _bits &= ~0x400000L;
+ _bits &= ~0x4000000L;
_headers._AcceptLanguage = default(StringValues);
return true;
}
@@ -4535,9 +4958,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.AcceptEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x200000L) != 0)
+ if ((_bits & 0x2000000L) != 0)
{
- _bits &= ~0x200000L;
+ _bits &= ~0x2000000L;
_headers._AcceptEncoding = default(StringValues);
return true;
}
@@ -4545,9 +4968,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.AcceptLanguage.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x400000L) != 0)
+ if ((_bits & 0x4000000L) != 0)
{
- _bits &= ~0x400000L;
+ _bits &= ~0x4000000L;
_headers._AcceptLanguage = default(StringValues);
return true;
}
@@ -4634,9 +5057,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.IfModifiedSince, key))
{
- if ((_bits & 0x20000000L) != 0)
+ if ((_bits & 0x200000000L) != 0)
{
- _bits &= ~0x20000000L;
+ _bits &= ~0x200000000L;
_headers._IfModifiedSince = default(StringValues);
return true;
}
@@ -4655,9 +5078,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.IfModifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x20000000L) != 0)
+ if ((_bits & 0x200000000L) != 0)
{
- _bits &= ~0x20000000L;
+ _bits &= ~0x200000000L;
_headers._IfModifiedSince = default(StringValues);
return true;
}
@@ -4669,9 +5092,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.IfUnmodifiedSince, key))
{
- if ((_bits & 0x100000000L) != 0)
+ if ((_bits & 0x1000000000L) != 0)
{
- _bits &= ~0x100000000L;
+ _bits &= ~0x1000000000L;
_headers._IfUnmodifiedSince = default(StringValues);
return true;
}
@@ -4679,9 +5102,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.ProxyAuthorization, key))
{
- if ((_bits & 0x400000000L) != 0)
+ if ((_bits & 0x4000000000L) != 0)
{
- _bits &= ~0x400000000L;
+ _bits &= ~0x4000000000L;
_headers._ProxyAuthorization = default(StringValues);
return true;
}
@@ -4689,9 +5112,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (ReferenceEquals(HeaderNames.CorrelationContext, key))
{
- if ((_bits & 0x80000000000L) != 0)
+ if ((_bits & 0x800000000000L) != 0)
{
- _bits &= ~0x80000000000L;
+ _bits &= ~0x800000000000L;
_headers._CorrelationContext = default(StringValues);
return true;
}
@@ -4700,9 +5123,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.IfUnmodifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x100000000L) != 0)
+ if ((_bits & 0x1000000000L) != 0)
{
- _bits &= ~0x100000000L;
+ _bits &= ~0x1000000000L;
_headers._IfUnmodifiedSince = default(StringValues);
return true;
}
@@ -4710,9 +5133,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.ProxyAuthorization.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x400000000L) != 0)
+ if ((_bits & 0x4000000000L) != 0)
{
- _bits &= ~0x400000000L;
+ _bits &= ~0x4000000000L;
_headers._ProxyAuthorization = default(StringValues);
return true;
}
@@ -4720,9 +5143,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
if (HeaderNames.CorrelationContext.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x80000000000L) != 0)
+ if ((_bits & 0x800000000000L) != 0)
{
- _bits &= ~0x80000000000L;
+ _bits &= ~0x800000000000L;
_headers._CorrelationContext = default(StringValues);
return true;
}
@@ -4734,9 +5157,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.UpgradeInsecureRequests, key))
{
- if ((_bits & 0x20000000000L) != 0)
+ if ((_bits & 0x200000000000L) != 0)
{
- _bits &= ~0x20000000000L;
+ _bits &= ~0x200000000000L;
_headers._UpgradeInsecureRequests = default(StringValues);
return true;
}
@@ -4745,9 +5168,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.UpgradeInsecureRequests.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x20000000000L) != 0)
+ if ((_bits & 0x200000000000L) != 0)
{
- _bits &= ~0x20000000000L;
+ _bits &= ~0x200000000000L;
_headers._UpgradeInsecureRequests = default(StringValues);
return true;
}
@@ -4759,9 +5182,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.AccessControlRequestMethod, key))
{
- if ((_bits & 0x800000000000L) != 0)
+ if ((_bits & 0x8000000000000L) != 0)
{
- _bits &= ~0x800000000000L;
+ _bits &= ~0x8000000000000L;
_headers._AccessControlRequestMethod = default(StringValues);
return true;
}
@@ -4770,9 +5193,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.AccessControlRequestMethod.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x800000000000L) != 0)
+ if ((_bits & 0x8000000000000L) != 0)
{
- _bits &= ~0x800000000000L;
+ _bits &= ~0x8000000000000L;
_headers._AccessControlRequestMethod = default(StringValues);
return true;
}
@@ -4784,9 +5207,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
if (ReferenceEquals(HeaderNames.AccessControlRequestHeaders, key))
{
- if ((_bits & 0x1000000000000L) != 0)
+ if ((_bits & 0x10000000000000L) != 0)
{
- _bits &= ~0x1000000000000L;
+ _bits &= ~0x10000000000000L;
_headers._AccessControlRequestHeaders = default(StringValues);
return true;
}
@@ -4795,9 +5218,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if (HeaderNames.AccessControlRequestHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
{
- if ((_bits & 0x1000000000000L) != 0)
+ if ((_bits & 0x10000000000000L) != 0)
{
- _bits &= ~0x1000000000000L;
+ _bits &= ~0x10000000000000L;
_headers._AccessControlRequestHeaders = default(StringValues);
return true;
}
@@ -4825,7 +5248,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((tempBits & 0x80000L) != 0)
{
- _headers._Accept = default;
+ _headers._Authority = default;
if((tempBits & ~0x80000L) == 0)
{
return;
@@ -4833,24 +5256,64 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
tempBits &= ~0x80000L;
}
- if ((tempBits & 0x8000000L) != 0)
+ if ((tempBits & 0x100000L) != 0)
{
- _headers._Host = default;
- if((tempBits & ~0x8000000L) == 0)
+ _headers._Method = default;
+ if((tempBits & ~0x100000L) == 0)
{
return;
}
- tempBits &= ~0x8000000L;
+ tempBits &= ~0x100000L;
}
- if ((tempBits & 0x8000000000L) != 0)
+ if ((tempBits & 0x200000L) != 0)
{
- _headers._UserAgent = default;
- if((tempBits & ~0x8000000000L) == 0)
+ _headers._Path = default;
+ if((tempBits & ~0x200000L) == 0)
{
return;
}
- tempBits &= ~0x8000000000L;
+ tempBits &= ~0x200000L;
+ }
+
+ if ((tempBits & 0x400000L) != 0)
+ {
+ _headers._Scheme = default;
+ if((tempBits & ~0x400000L) == 0)
+ {
+ return;
+ }
+ tempBits &= ~0x400000L;
+ }
+
+ if ((tempBits & 0x800000L) != 0)
+ {
+ _headers._Accept = default;
+ if((tempBits & ~0x800000L) == 0)
+ {
+ return;
+ }
+ tempBits &= ~0x800000L;
+ }
+
+ if ((tempBits & 0x80000000L) != 0)
+ {
+ _headers._Host = default;
+ if((tempBits & ~0x80000000L) == 0)
+ {
+ return;
+ }
+ tempBits &= ~0x80000000L;
+ }
+
+ if ((tempBits & 0x80000000000L) != 0)
+ {
+ _headers._UserAgent = default;
+ if((tempBits & ~0x80000000000L) == 0)
+ {
+ return;
+ }
+ tempBits &= ~0x80000000000L;
}
if ((tempBits & 0x1L) != 0)
@@ -5033,49 +5496,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
tempBits &= ~0x40000L;
}
- if ((tempBits & 0x100000L) != 0)
- {
- _headers._AcceptCharset = default;
- if((tempBits & ~0x100000L) == 0)
- {
- return;
- }
- tempBits &= ~0x100000L;
- }
-
- if ((tempBits & 0x200000L) != 0)
- {
- _headers._AcceptEncoding = default;
- if((tempBits & ~0x200000L) == 0)
- {
- return;
- }
- tempBits &= ~0x200000L;
- }
-
- if ((tempBits & 0x400000L) != 0)
- {
- _headers._AcceptLanguage = default;
- if((tempBits & ~0x400000L) == 0)
- {
- return;
- }
- tempBits &= ~0x400000L;
- }
-
- if ((tempBits & 0x800000L) != 0)
- {
- _headers._Authorization = default;
- if((tempBits & ~0x800000L) == 0)
- {
- return;
- }
- tempBits &= ~0x800000L;
- }
-
if ((tempBits & 0x1000000L) != 0)
{
- _headers._Cookie = default;
+ _headers._AcceptCharset = default;
if((tempBits & ~0x1000000L) == 0)
{
return;
@@ -5085,7 +5508,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((tempBits & 0x2000000L) != 0)
{
- _headers._Expect = default;
+ _headers._AcceptEncoding = default;
if((tempBits & ~0x2000000L) == 0)
{
return;
@@ -5095,7 +5518,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((tempBits & 0x4000000L) != 0)
{
- _headers._From = default;
+ _headers._AcceptLanguage = default;
if((tempBits & ~0x4000000L) == 0)
{
return;
@@ -5103,9 +5526,19 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
tempBits &= ~0x4000000L;
}
+ if ((tempBits & 0x8000000L) != 0)
+ {
+ _headers._Authorization = default;
+ if((tempBits & ~0x8000000L) == 0)
+ {
+ return;
+ }
+ tempBits &= ~0x8000000L;
+ }
+
if ((tempBits & 0x10000000L) != 0)
{
- _headers._IfMatch = default;
+ _headers._Cookie = default;
if((tempBits & ~0x10000000L) == 0)
{
return;
@@ -5115,7 +5548,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((tempBits & 0x20000000L) != 0)
{
- _headers._IfModifiedSince = default;
+ _headers._Expect = default;
if((tempBits & ~0x20000000L) == 0)
{
return;
@@ -5125,7 +5558,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((tempBits & 0x40000000L) != 0)
{
- _headers._IfNoneMatch = default;
+ _headers._From = default;
if((tempBits & ~0x40000000L) == 0)
{
return;
@@ -5133,19 +5566,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
tempBits &= ~0x40000000L;
}
- if ((tempBits & 0x80000000L) != 0)
- {
- _headers._IfRange = default;
- if((tempBits & ~0x80000000L) == 0)
- {
- return;
- }
- tempBits &= ~0x80000000L;
- }
-
if ((tempBits & 0x100000000L) != 0)
{
- _headers._IfUnmodifiedSince = default;
+ _headers._IfMatch = default;
if((tempBits & ~0x100000000L) == 0)
{
return;
@@ -5155,7 +5578,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((tempBits & 0x200000000L) != 0)
{
- _headers._MaxForwards = default;
+ _headers._IfModifiedSince = default;
if((tempBits & ~0x200000000L) == 0)
{
return;
@@ -5165,7 +5588,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((tempBits & 0x400000000L) != 0)
{
- _headers._ProxyAuthorization = default;
+ _headers._IfNoneMatch = default;
if((tempBits & ~0x400000000L) == 0)
{
return;
@@ -5175,7 +5598,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((tempBits & 0x800000000L) != 0)
{
- _headers._Referer = default;
+ _headers._IfRange = default;
if((tempBits & ~0x800000000L) == 0)
{
return;
@@ -5185,7 +5608,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((tempBits & 0x1000000000L) != 0)
{
- _headers._Range = default;
+ _headers._IfUnmodifiedSince = default;
if((tempBits & ~0x1000000000L) == 0)
{
return;
@@ -5195,7 +5618,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((tempBits & 0x2000000000L) != 0)
{
- _headers._TE = default;
+ _headers._MaxForwards = default;
if((tempBits & ~0x2000000000L) == 0)
{
return;
@@ -5205,7 +5628,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((tempBits & 0x4000000000L) != 0)
{
- _headers._Translate = default;
+ _headers._ProxyAuthorization = default;
if((tempBits & ~0x4000000000L) == 0)
{
return;
@@ -5213,9 +5636,19 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
tempBits &= ~0x4000000000L;
}
+ if ((tempBits & 0x8000000000L) != 0)
+ {
+ _headers._Referer = default;
+ if((tempBits & ~0x8000000000L) == 0)
+ {
+ return;
+ }
+ tempBits &= ~0x8000000000L;
+ }
+
if ((tempBits & 0x10000000000L) != 0)
{
- _headers._DNT = default;
+ _headers._Range = default;
if((tempBits & ~0x10000000000L) == 0)
{
return;
@@ -5225,7 +5658,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((tempBits & 0x20000000000L) != 0)
{
- _headers._UpgradeInsecureRequests = default;
+ _headers._TE = default;
if((tempBits & ~0x20000000000L) == 0)
{
return;
@@ -5235,7 +5668,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((tempBits & 0x40000000000L) != 0)
{
- _headers._RequestId = default;
+ _headers._Translate = default;
if((tempBits & ~0x40000000000L) == 0)
{
return;
@@ -5243,19 +5676,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
tempBits &= ~0x40000000000L;
}
- if ((tempBits & 0x80000000000L) != 0)
- {
- _headers._CorrelationContext = default;
- if((tempBits & ~0x80000000000L) == 0)
- {
- return;
- }
- tempBits &= ~0x80000000000L;
- }
-
if ((tempBits & 0x100000000000L) != 0)
{
- _headers._TraceParent = default;
+ _headers._DNT = default;
if((tempBits & ~0x100000000000L) == 0)
{
return;
@@ -5265,7 +5688,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((tempBits & 0x200000000000L) != 0)
{
- _headers._TraceState = default;
+ _headers._UpgradeInsecureRequests = default;
if((tempBits & ~0x200000000000L) == 0)
{
return;
@@ -5275,7 +5698,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((tempBits & 0x400000000000L) != 0)
{
- _headers._Origin = default;
+ _headers._RequestId = default;
if((tempBits & ~0x400000000000L) == 0)
{
return;
@@ -5285,7 +5708,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((tempBits & 0x800000000000L) != 0)
{
- _headers._AccessControlRequestMethod = default;
+ _headers._CorrelationContext = default;
if((tempBits & ~0x800000000000L) == 0)
{
return;
@@ -5295,7 +5718,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((tempBits & 0x1000000000000L) != 0)
{
- _headers._AccessControlRequestHeaders = default;
+ _headers._TraceParent = default;
if((tempBits & ~0x1000000000000L) == 0)
{
return;
@@ -5303,6 +5726,46 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
tempBits &= ~0x1000000000000L;
}
+ if ((tempBits & 0x2000000000000L) != 0)
+ {
+ _headers._TraceState = default;
+ if((tempBits & ~0x2000000000000L) == 0)
+ {
+ return;
+ }
+ tempBits &= ~0x2000000000000L;
+ }
+
+ if ((tempBits & 0x4000000000000L) != 0)
+ {
+ _headers._Origin = default;
+ if((tempBits & ~0x4000000000000L) == 0)
+ {
+ return;
+ }
+ tempBits &= ~0x4000000000000L;
+ }
+
+ if ((tempBits & 0x8000000000000L) != 0)
+ {
+ _headers._AccessControlRequestMethod = default;
+ if((tempBits & ~0x8000000000000L) == 0)
+ {
+ return;
+ }
+ tempBits &= ~0x8000000000000L;
+ }
+
+ if ((tempBits & 0x10000000000000L) != 0)
+ {
+ _headers._AccessControlRequestHeaders = default;
+ if((tempBits & ~0x10000000000000L) == 0)
+ {
+ return;
+ }
+ tempBits &= ~0x10000000000000L;
+ }
+
}
protected override bool CopyToFast(KeyValuePair[] array, int arrayIndex)
@@ -5489,7 +5952,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.Accept, _headers._Accept);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.Authority, _headers._Authority);
++arrayIndex;
}
if ((_bits & 0x100000L) != 0)
@@ -5498,7 +5961,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.AcceptCharset, _headers._AcceptCharset);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.Method, _headers._Method);
++arrayIndex;
}
if ((_bits & 0x200000L) != 0)
@@ -5507,7 +5970,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.AcceptEncoding, _headers._AcceptEncoding);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.Path, _headers._Path);
++arrayIndex;
}
if ((_bits & 0x400000L) != 0)
@@ -5516,7 +5979,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.AcceptLanguage, _headers._AcceptLanguage);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.Scheme, _headers._Scheme);
++arrayIndex;
}
if ((_bits & 0x800000L) != 0)
@@ -5525,7 +5988,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.Authorization, _headers._Authorization);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.Accept, _headers._Accept);
++arrayIndex;
}
if ((_bits & 0x1000000L) != 0)
@@ -5534,7 +5997,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.Cookie, _headers._Cookie);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.AcceptCharset, _headers._AcceptCharset);
++arrayIndex;
}
if ((_bits & 0x2000000L) != 0)
@@ -5543,7 +6006,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.Expect, _headers._Expect);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.AcceptEncoding, _headers._AcceptEncoding);
++arrayIndex;
}
if ((_bits & 0x4000000L) != 0)
@@ -5552,7 +6015,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.From, _headers._From);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.AcceptLanguage, _headers._AcceptLanguage);
++arrayIndex;
}
if ((_bits & 0x8000000L) != 0)
@@ -5561,7 +6024,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.Host, _headers._Host);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.Authorization, _headers._Authorization);
++arrayIndex;
}
if ((_bits & 0x10000000L) != 0)
@@ -5570,7 +6033,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.IfMatch, _headers._IfMatch);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.Cookie, _headers._Cookie);
++arrayIndex;
}
if ((_bits & 0x20000000L) != 0)
@@ -5579,7 +6042,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.IfModifiedSince, _headers._IfModifiedSince);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.Expect, _headers._Expect);
++arrayIndex;
}
if ((_bits & 0x40000000L) != 0)
@@ -5588,7 +6051,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.IfNoneMatch, _headers._IfNoneMatch);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.From, _headers._From);
++arrayIndex;
}
if ((_bits & 0x80000000L) != 0)
@@ -5597,7 +6060,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.IfRange, _headers._IfRange);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.Host, _headers._Host);
++arrayIndex;
}
if ((_bits & 0x100000000L) != 0)
@@ -5606,7 +6069,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.IfUnmodifiedSince, _headers._IfUnmodifiedSince);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.IfMatch, _headers._IfMatch);
++arrayIndex;
}
if ((_bits & 0x200000000L) != 0)
@@ -5615,7 +6078,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.MaxForwards, _headers._MaxForwards);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.IfModifiedSince, _headers._IfModifiedSince);
++arrayIndex;
}
if ((_bits & 0x400000000L) != 0)
@@ -5624,7 +6087,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.ProxyAuthorization, _headers._ProxyAuthorization);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.IfNoneMatch, _headers._IfNoneMatch);
++arrayIndex;
}
if ((_bits & 0x800000000L) != 0)
@@ -5633,7 +6096,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.Referer, _headers._Referer);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.IfRange, _headers._IfRange);
++arrayIndex;
}
if ((_bits & 0x1000000000L) != 0)
@@ -5642,7 +6105,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.Range, _headers._Range);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.IfUnmodifiedSince, _headers._IfUnmodifiedSince);
++arrayIndex;
}
if ((_bits & 0x2000000000L) != 0)
@@ -5651,7 +6114,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.TE, _headers._TE);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.MaxForwards, _headers._MaxForwards);
++arrayIndex;
}
if ((_bits & 0x4000000000L) != 0)
@@ -5660,7 +6123,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.Translate, _headers._Translate);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.ProxyAuthorization, _headers._ProxyAuthorization);
++arrayIndex;
}
if ((_bits & 0x8000000000L) != 0)
@@ -5669,7 +6132,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.UserAgent, _headers._UserAgent);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.Referer, _headers._Referer);
++arrayIndex;
}
if ((_bits & 0x10000000000L) != 0)
@@ -5678,7 +6141,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.DNT, _headers._DNT);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.Range, _headers._Range);
++arrayIndex;
}
if ((_bits & 0x20000000000L) != 0)
@@ -5687,7 +6150,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.UpgradeInsecureRequests, _headers._UpgradeInsecureRequests);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.TE, _headers._TE);
++arrayIndex;
}
if ((_bits & 0x40000000000L) != 0)
@@ -5696,7 +6159,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.RequestId, _headers._RequestId);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.Translate, _headers._Translate);
++arrayIndex;
}
if ((_bits & 0x80000000000L) != 0)
@@ -5705,7 +6168,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.CorrelationContext, _headers._CorrelationContext);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.UserAgent, _headers._UserAgent);
++arrayIndex;
}
if ((_bits & 0x100000000000L) != 0)
@@ -5714,7 +6177,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.TraceParent, _headers._TraceParent);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.DNT, _headers._DNT);
++arrayIndex;
}
if ((_bits & 0x200000000000L) != 0)
@@ -5723,7 +6186,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.TraceState, _headers._TraceState);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.UpgradeInsecureRequests, _headers._UpgradeInsecureRequests);
++arrayIndex;
}
if ((_bits & 0x400000000000L) != 0)
@@ -5732,7 +6195,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.Origin, _headers._Origin);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.RequestId, _headers._RequestId);
++arrayIndex;
}
if ((_bits & 0x800000000000L) != 0)
@@ -5741,10 +6204,46 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
return false;
}
- array[arrayIndex] = new KeyValuePair(HeaderNames.AccessControlRequestMethod, _headers._AccessControlRequestMethod);
+ array[arrayIndex] = new KeyValuePair(HeaderNames.CorrelationContext, _headers._CorrelationContext);
++arrayIndex;
}
if ((_bits & 0x1000000000000L) != 0)
+ {
+ if (arrayIndex == array.Length)
+ {
+ return false;
+ }
+ array[arrayIndex] = new KeyValuePair(HeaderNames.TraceParent, _headers._TraceParent);
+ ++arrayIndex;
+ }
+ if ((_bits & 0x2000000000000L) != 0)
+ {
+ if (arrayIndex == array.Length)
+ {
+ return false;
+ }
+ array[arrayIndex] = new KeyValuePair(HeaderNames.TraceState, _headers._TraceState);
+ ++arrayIndex;
+ }
+ if ((_bits & 0x4000000000000L) != 0)
+ {
+ if (arrayIndex == array.Length)
+ {
+ return false;
+ }
+ array[arrayIndex] = new KeyValuePair(HeaderNames.Origin, _headers._Origin);
+ ++arrayIndex;
+ }
+ if ((_bits & 0x8000000000000L) != 0)
+ {
+ if (arrayIndex == array.Length)
+ {
+ return false;
+ }
+ array[arrayIndex] = new KeyValuePair(HeaderNames.AccessControlRequestMethod, _headers._AccessControlRequestMethod);
+ ++arrayIndex;
+ }
+ if ((_bits & 0x10000000000000L) != 0)
{
if (arrayIndex == array.Length)
{
@@ -5780,7 +6279,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
case 2:
if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfu) == 0x4554u))
{
- flag = 0x2000000000L;
+ flag = 0x20000000000L;
values = ref _headers._TE;
}
break;
@@ -5788,7 +6287,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
var firstTerm3 = (Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfu);
if ((firstTerm3 == 0x4e44u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)2) & 0xdfu) == 0x54u))
{
- flag = 0x10000000000L;
+ flag = 0x100000000000L;
values = ref _headers._DNT;
}
else if ((firstTerm3 == 0x4956u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)2) & 0xdfu) == 0x41u))
@@ -5801,7 +6300,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
var firstTerm4 = (Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfu);
if ((firstTerm4 == 0x54534f48u))
{
- flag = 0x8000000L;
+ flag = 0x80000000L;
values = ref _headers._Host;
}
else if ((firstTerm4 == 0x45544144u))
@@ -5811,20 +6310,24 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
else if ((firstTerm4 == 0x4d4f5246u))
{
- flag = 0x4000000L;
+ flag = 0x40000000L;
values = ref _headers._From;
}
break;
case 5:
- var firstTerm5 = (Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfu);
- if ((firstTerm5 == 0x4f4c4c41u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)4) & 0xdfu) == 0x57u))
+ if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfffu) == 0x5441503au) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)4) & 0xdfu) == 0x48u))
+ {
+ flag = 0x200000L;
+ values = ref _headers._Path;
+ }
+ else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfu) == 0x4f4c4c41u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)4) & 0xdfu) == 0x57u))
{
flag = 0x400L;
values = ref _headers._Allow;
}
- else if ((firstTerm5 == 0x474e4152u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)4) & 0xdfu) == 0x45u))
+ else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfu) == 0x474e4152u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)4) & 0xdfu) == 0x45u))
{
- flag = 0x1000000000L;
+ flag = 0x10000000000L;
values = ref _headers._Range;
}
break;
@@ -5832,22 +6335,22 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
var firstTerm6 = (Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfu);
if ((firstTerm6 == 0x45434341u) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(ushort)))) & 0xdfdfu) == 0x5450u))
{
- flag = 0x80000L;
+ flag = 0x800000L;
values = ref _headers._Accept;
}
else if ((firstTerm6 == 0x4b4f4f43u) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(ushort)))) & 0xdfdfu) == 0x4549u))
{
- flag = 0x1000000L;
+ flag = 0x10000000L;
values = ref _headers._Cookie;
}
else if ((firstTerm6 == 0x45505845u) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(ushort)))) & 0xdfdfu) == 0x5443u))
{
- flag = 0x2000000L;
+ flag = 0x20000000L;
values = ref _headers._Expect;
}
else if ((firstTerm6 == 0x4749524fu) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(ushort)))) & 0xdfdfu) == 0x4e49u))
{
- flag = 0x400000000000L;
+ flag = 0x4000000000000L;
values = ref _headers._Origin;
}
else if ((firstTerm6 == 0x47415250u) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(ushort)))) & 0xdfdfu) == 0x414du))
@@ -5857,28 +6360,37 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
break;
case 7:
- var firstTerm7 = (Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfu);
- if ((firstTerm7 == 0x49505845u) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(ushort)))) & 0xdfdfu) == 0x4552u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)6) & 0xdfu) == 0x53u))
+ if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfffu) == 0x54454d3au) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(ushort)))) & 0xdfdfu) == 0x4f48u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)6) & 0xdfu) == 0x44u))
+ {
+ flag = 0x100000L;
+ values = ref _headers._Method;
+ }
+ else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfffu) == 0x4843533au) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(ushort)))) & 0xdfdfu) == 0x4d45u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)6) & 0xdfu) == 0x45u))
+ {
+ flag = 0x400000L;
+ values = ref _headers._Scheme;
+ }
+ else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfu) == 0x49505845u) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(ushort)))) & 0xdfdfu) == 0x4552u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)6) & 0xdfu) == 0x53u))
{
flag = 0x20000L;
values = ref _headers._Expires;
}
- else if ((firstTerm7 == 0x45464552u) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(ushort)))) & 0xdfdfu) == 0x4552u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)6) & 0xdfu) == 0x52u))
+ else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfu) == 0x45464552u) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(ushort)))) & 0xdfdfu) == 0x4552u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)6) & 0xdfu) == 0x52u))
{
- flag = 0x800000000L;
+ flag = 0x8000000000L;
values = ref _headers._Referer;
}
- else if ((firstTerm7 == 0x49415254u) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(ushort)))) & 0xdfdfu) == 0x454cu) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)6) & 0xdfu) == 0x52u))
+ else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfu) == 0x49415254u) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(ushort)))) & 0xdfdfu) == 0x454cu) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)6) & 0xdfu) == 0x52u))
{
flag = 0x20L;
values = ref _headers._Trailer;
}
- else if ((firstTerm7 == 0x52475055u) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(ushort)))) & 0xdfdfu) == 0x4441u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)6) & 0xdfu) == 0x45u))
+ else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfu) == 0x52475055u) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(ushort)))) & 0xdfdfu) == 0x4441u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)6) & 0xdfu) == 0x45u))
{
flag = 0x80L;
values = ref _headers._Upgrade;
}
- else if ((firstTerm7 == 0x4e524157u) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(ushort)))) & 0xdfdfu) == 0x4e49u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)6) & 0xdfu) == 0x47u))
+ else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfu) == 0x4e524157u) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(ushort)))) & 0xdfdfu) == 0x4e49u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)6) & 0xdfu) == 0x47u))
{
flag = 0x200L;
values = ref _headers._Warning;
@@ -5888,31 +6400,36 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
var firstTerm8 = (Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfdfffdfdfuL);
if ((firstTerm8 == 0x484354414d2d4649uL))
{
- flag = 0x10000000L;
+ flag = 0x100000000L;
values = ref _headers._IfMatch;
}
else if ((firstTerm8 == 0x45474e41522d4649uL))
{
- flag = 0x80000000L;
+ flag = 0x800000000L;
values = ref _headers._IfRange;
}
break;
case 9:
if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfdfdfdfdfuL) == 0x54414c534e415254uL) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)8) & 0xdfu) == 0x45u))
{
- flag = 0x4000000000L;
+ flag = 0x40000000000L;
values = ref _headers._Translate;
}
break;
case 10:
- if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfdfdfdfdfuL) == 0x495443454e4e4f43uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(4 * sizeof(ushort)))) & 0xdfdfu) == 0x4e4fu))
+ if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfdfdfdfffuL) == 0x49524f485455413auL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(4 * sizeof(ushort)))) & 0xdfdfu) == 0x5954u))
+ {
+ flag = 0x80000L;
+ values = ref _headers._Authority;
+ }
+ else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfdfdfdfdfuL) == 0x495443454e4e4f43uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(4 * sizeof(ushort)))) & 0xdfdfu) == 0x4e4fu))
{
flag = 0x2L;
values = ref _headers._Connection;
}
else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfffdfdfdfdfuL) == 0x4547412d52455355uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(4 * sizeof(ushort)))) & 0xdfdfu) == 0x544eu))
{
- flag = 0x8000000000L;
+ flag = 0x80000000000L;
values = ref _headers._UserAgent;
}
else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfffdfdfdfdfuL) == 0x494c412d5045454buL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(4 * sizeof(ushort)))) & 0xdfdfu) == 0x4556u))
@@ -5922,12 +6439,12 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xffdfdfdfdfdfdfdfuL) == 0x2d54534555514552uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(4 * sizeof(ushort)))) & 0xdfdfu) == 0x4449u))
{
- flag = 0x40000000000L;
+ flag = 0x400000000000L;
values = ref _headers._RequestId;
}
else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfdfdfdfdfuL) == 0x4154534543415254uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(4 * sizeof(ushort)))) & 0xdfdfu) == 0x4554u))
{
- flag = 0x200000000000L;
+ flag = 0x2000000000000L;
values = ref _headers._TraceState;
}
break;
@@ -5939,7 +6456,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfdfdfdfdfuL) == 0x5241504543415254uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(4 * sizeof(ushort)))) & 0xdfdfu) == 0x4e45u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)10) & 0xdfu) == 0x54u))
{
- flag = 0x100000000000L;
+ flag = 0x1000000000000L;
values = ref _headers._TraceParent;
}
break;
@@ -5951,14 +6468,14 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfffdfdfdfuL) == 0x57524f462d58414duL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(uint)))) & 0xdfdfdfdfu) == 0x53445241u))
{
- flag = 0x200000000L;
+ flag = 0x2000000000L;
values = ref _headers._MaxForwards;
}
break;
case 13:
if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfdfdfdfdfuL) == 0x5a49524f48545541uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(uint)))) & 0xdfdfdfdfu) == 0x4f495441u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)12) & 0xdfu) == 0x4eu))
{
- flag = 0x800000L;
+ flag = 0x8000000L;
values = ref _headers._Authorization;
}
else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfffdfdfdfdfdfuL) == 0x4f432d4548434143uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(uint)))) & 0xdfdfdfdfu) == 0x4f52544eu) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)12) & 0xdfu) == 0x4cu))
@@ -5973,7 +6490,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xffdfdfdfdfffdfdfuL) == 0x2d454e4f4e2d4649uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(uint)))) & 0xdfdfdfdfu) == 0x4354414du) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)12) & 0xdfu) == 0x48u))
{
- flag = 0x40000000L;
+ flag = 0x400000000L;
values = ref _headers._IfNoneMatch;
}
else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfffdfdfdfdfuL) == 0x444f4d2d5453414cuL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(uint)))) & 0xdfdfdfdfu) == 0x45494649u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)12) & 0xdfu) == 0x44u))
@@ -5985,7 +6502,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
case 14:
if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfffdfdfdfdfdfdfuL) == 0x432d545045434341uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(uint)))) & 0xdfdfdfdfu) == 0x53524148u) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(6 * sizeof(ushort)))) & 0xdfdfu) == 0x5445u))
{
- flag = 0x100000L;
+ flag = 0x1000000L;
values = ref _headers._AcceptCharset;
}
else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xffdfdfdfdfdfdfdfuL) == 0x2d544e45544e4f43uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(uint)))) & 0xdfdfdfdfu) == 0x474e454cu) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(6 * sizeof(ushort)))) & 0xdfdfu) == 0x4854u))
@@ -5998,12 +6515,12 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
var firstTerm15 = (Unsafe.ReadUnaligned(ref nameStart) & 0xdfffdfdfdfdfdfdfuL);
if ((firstTerm15 == 0x452d545045434341uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(uint)))) & 0xdfdfdfdfu) == 0x444f434eu) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(6 * sizeof(ushort)))) & 0xdfdfu) == 0x4e49u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)14) & 0xdfu) == 0x47u))
{
- flag = 0x200000L;
+ flag = 0x2000000L;
values = ref _headers._AcceptEncoding;
}
else if ((firstTerm15 == 0x4c2d545045434341uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(uint)))) & 0xdfdfdfdfu) == 0x55474e41u) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(6 * sizeof(ushort)))) & 0xdfdfu) == 0x4741u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)14) & 0xdfu) == 0x45u))
{
- flag = 0x400000L;
+ flag = 0x4000000L;
values = ref _headers._AcceptLanguage;
}
break;
@@ -6031,7 +6548,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
case 17:
if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfdfffdfdfuL) == 0x4649444f4d2d4649uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)sizeof(ulong))) & 0xdfdfdfdfffdfdfdfuL) == 0x434e49532d444549uL) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)16) & 0xdfu) == 0x45u))
{
- flag = 0x20000000L;
+ flag = 0x200000000L;
values = ref _headers._IfModifiedSince;
}
else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfdfdfdfdfuL) == 0x524546534e415254uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)sizeof(ulong))) & 0xdfdfdfdfdfdfdfffuL) == 0x4e49444f434e452duL) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)16) & 0xdfu) == 0x47u))
@@ -6043,38 +6560,38 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
case 19:
if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfdfdfdfdfuL) == 0x54414c4552524f43uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)sizeof(ulong))) & 0xdfdfdfdfffdfdfdfuL) == 0x544e4f432d4e4f49uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(8 * sizeof(ushort)))) & 0xdfdfu) == 0x5845u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)18) & 0xdfu) == 0x54u))
{
- flag = 0x80000000000L;
+ flag = 0x800000000000L;
values = ref _headers._CorrelationContext;
}
else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfdfdfdfffdfdfuL) == 0x444f4d4e552d4649uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)sizeof(ulong))) & 0xdfdfffdfdfdfdfdfuL) == 0x49532d4445494649uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(8 * sizeof(ushort)))) & 0xdfdfu) == 0x434eu) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)18) & 0xdfu) == 0x45u))
{
- flag = 0x100000000L;
+ flag = 0x1000000000L;
values = ref _headers._IfUnmodifiedSince;
}
else if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfdfffdfdfdfdfdfuL) == 0x55412d59584f5250uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)sizeof(ulong))) & 0xdfdfdfdfdfdfdfdfuL) == 0x54415a49524f4854uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(8 * sizeof(ushort)))) & 0xdfdfu) == 0x4f49u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)18) & 0xdfu) == 0x4eu))
{
- flag = 0x400000000L;
+ flag = 0x4000000000L;
values = ref _headers._ProxyAuthorization;
}
break;
case 25:
if (((Unsafe.ReadUnaligned(ref nameStart) & 0xffdfdfdfdfdfdfdfuL) == 0x2d45444152475055uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)sizeof(ulong))) & 0xdfdfdfdfdfdfdfdfuL) == 0x4552554345534e49uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(ulong)))) & 0xdfdfdfdfdfdfdfffuL) == 0x545345555145522duL) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)24) & 0xdfu) == 0x53u))
{
- flag = 0x20000000000L;
+ flag = 0x200000000000L;
values = ref _headers._UpgradeInsecureRequests;
}
break;
case 29:
if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfffdfdfdfdfdfdfuL) == 0x432d535345434341uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)sizeof(ulong))) & 0xdfffdfdfdfdfdfdfuL) == 0x522d4c4f52544e4fuL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(ulong)))) & 0xdfffdfdfdfdfdfdfuL) == 0x4d2d545345555145uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(6 * sizeof(uint)))) & 0xdfdfdfdfu) == 0x4f485445u) && ((Unsafe.AddByteOffset(ref nameStart, (IntPtr)28) & 0xdfu) == 0x44u))
{
- flag = 0x800000000000L;
+ flag = 0x8000000000000L;
values = ref _headers._AccessControlRequestMethod;
}
break;
case 30:
if (((Unsafe.ReadUnaligned(ref nameStart) & 0xdfffdfdfdfdfdfdfuL) == 0x432d535345434341uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)sizeof(ulong))) & 0xdfffdfdfdfdfdfdfuL) == 0x522d4c4f52544e4fuL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(2 * sizeof(ulong)))) & 0xdfffdfdfdfdfdfdfuL) == 0x482d545345555145uL) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(6 * sizeof(uint)))) & 0xdfdfdfdfu) == 0x45444145u) && ((Unsafe.ReadUnaligned(ref Unsafe.AddByteOffset(ref nameStart, (IntPtr)(14 * sizeof(ushort)))) & 0xdfdfu) == 0x5352u))
{
- flag = 0x1000000000000L;
+ flag = 0x10000000000000L;
values = ref _headers._AccessControlRequestHeaders;
}
break;
@@ -6149,6 +6666,10 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
public StringValues _ContentRange;
public StringValues _Expires;
public StringValues _LastModified;
+ public StringValues _Authority;
+ public StringValues _Method;
+ public StringValues _Path;
+ public StringValues _Scheme;
public StringValues _Accept;
public StringValues _AcceptCharset;
public StringValues _AcceptEncoding;
@@ -6228,66 +6749,74 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
case 18:
goto HeaderLastModified;
case 19:
- goto HeaderAccept;
+ goto HeaderAuthority;
case 20:
- goto HeaderAcceptCharset;
+ goto HeaderMethod;
case 21:
- goto HeaderAcceptEncoding;
+ goto HeaderPath;
case 22:
- goto HeaderAcceptLanguage;
+ goto HeaderScheme;
case 23:
- goto HeaderAuthorization;
+ goto HeaderAccept;
case 24:
- goto HeaderCookie;
+ goto HeaderAcceptCharset;
case 25:
- goto HeaderExpect;
+ goto HeaderAcceptEncoding;
case 26:
- goto HeaderFrom;
+ goto HeaderAcceptLanguage;
case 27:
- goto HeaderHost;
+ goto HeaderAuthorization;
case 28:
- goto HeaderIfMatch;
+ goto HeaderCookie;
case 29:
- goto HeaderIfModifiedSince;
+ goto HeaderExpect;
case 30:
- goto HeaderIfNoneMatch;
+ goto HeaderFrom;
case 31:
- goto HeaderIfRange;
+ goto HeaderHost;
case 32:
- goto HeaderIfUnmodifiedSince;
+ goto HeaderIfMatch;
case 33:
- goto HeaderMaxForwards;
+ goto HeaderIfModifiedSince;
case 34:
- goto HeaderProxyAuthorization;
+ goto HeaderIfNoneMatch;
case 35:
- goto HeaderReferer;
+ goto HeaderIfRange;
case 36:
- goto HeaderRange;
+ goto HeaderIfUnmodifiedSince;
case 37:
- goto HeaderTE;
+ goto HeaderMaxForwards;
case 38:
- goto HeaderTranslate;
+ goto HeaderProxyAuthorization;
case 39:
- goto HeaderUserAgent;
+ goto HeaderReferer;
case 40:
- goto HeaderDNT;
+ goto HeaderRange;
case 41:
- goto HeaderUpgradeInsecureRequests;
+ goto HeaderTE;
case 42:
- goto HeaderRequestId;
+ goto HeaderTranslate;
case 43:
- goto HeaderCorrelationContext;
+ goto HeaderUserAgent;
case 44:
- goto HeaderTraceParent;
+ goto HeaderDNT;
case 45:
- goto HeaderTraceState;
+ goto HeaderUpgradeInsecureRequests;
case 46:
- goto HeaderOrigin;
+ goto HeaderRequestId;
case 47:
- goto HeaderAccessControlRequestMethod;
+ goto HeaderCorrelationContext;
case 48:
- goto HeaderAccessControlRequestHeaders;
+ goto HeaderTraceParent;
case 49:
+ goto HeaderTraceState;
+ case 50:
+ goto HeaderOrigin;
+ case 51:
+ goto HeaderAccessControlRequestMethod;
+ case 52:
+ goto HeaderAccessControlRequestHeaders;
+ case 53:
goto HeaderContentLength;
default:
goto ExtraHeaders;
@@ -6297,6 +6826,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x1L) != 0)
{
_current = new KeyValuePair(HeaderNames.CacheControl, _collection._headers._CacheControl);
+ _currentKnownType = KnownHeaderType.CacheControl;
_next = 1;
return true;
}
@@ -6304,6 +6834,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x2L) != 0)
{
_current = new KeyValuePair(HeaderNames.Connection, _collection._headers._Connection);
+ _currentKnownType = KnownHeaderType.Connection;
_next = 2;
return true;
}
@@ -6311,6 +6842,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x4L) != 0)
{
_current = new KeyValuePair(HeaderNames.Date, _collection._headers._Date);
+ _currentKnownType = KnownHeaderType.Date;
_next = 3;
return true;
}
@@ -6318,6 +6850,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x8L) != 0)
{
_current = new KeyValuePair(HeaderNames.KeepAlive, _collection._headers._KeepAlive);
+ _currentKnownType = KnownHeaderType.KeepAlive;
_next = 4;
return true;
}
@@ -6325,6 +6858,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x10L) != 0)
{
_current = new KeyValuePair(HeaderNames.Pragma, _collection._headers._Pragma);
+ _currentKnownType = KnownHeaderType.Pragma;
_next = 5;
return true;
}
@@ -6332,6 +6866,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x20L) != 0)
{
_current = new KeyValuePair(HeaderNames.Trailer, _collection._headers._Trailer);
+ _currentKnownType = KnownHeaderType.Trailer;
_next = 6;
return true;
}
@@ -6339,6 +6874,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x40L) != 0)
{
_current = new KeyValuePair(HeaderNames.TransferEncoding, _collection._headers._TransferEncoding);
+ _currentKnownType = KnownHeaderType.TransferEncoding;
_next = 7;
return true;
}
@@ -6346,6 +6882,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x80L) != 0)
{
_current = new KeyValuePair(HeaderNames.Upgrade, _collection._headers._Upgrade);
+ _currentKnownType = KnownHeaderType.Upgrade;
_next = 8;
return true;
}
@@ -6353,6 +6890,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x100L) != 0)
{
_current = new KeyValuePair(HeaderNames.Via, _collection._headers._Via);
+ _currentKnownType = KnownHeaderType.Via;
_next = 9;
return true;
}
@@ -6360,6 +6898,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x200L) != 0)
{
_current = new KeyValuePair(HeaderNames.Warning, _collection._headers._Warning);
+ _currentKnownType = KnownHeaderType.Warning;
_next = 10;
return true;
}
@@ -6367,6 +6906,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x400L) != 0)
{
_current = new KeyValuePair(HeaderNames.Allow, _collection._headers._Allow);
+ _currentKnownType = KnownHeaderType.Allow;
_next = 11;
return true;
}
@@ -6374,6 +6914,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x800L) != 0)
{
_current = new KeyValuePair(HeaderNames.ContentType, _collection._headers._ContentType);
+ _currentKnownType = KnownHeaderType.ContentType;
_next = 12;
return true;
}
@@ -6381,6 +6922,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x1000L) != 0)
{
_current = new KeyValuePair(HeaderNames.ContentEncoding, _collection._headers._ContentEncoding);
+ _currentKnownType = KnownHeaderType.ContentEncoding;
_next = 13;
return true;
}
@@ -6388,6 +6930,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x2000L) != 0)
{
_current = new KeyValuePair(HeaderNames.ContentLanguage, _collection._headers._ContentLanguage);
+ _currentKnownType = KnownHeaderType.ContentLanguage;
_next = 14;
return true;
}
@@ -6395,6 +6938,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x4000L) != 0)
{
_current = new KeyValuePair(HeaderNames.ContentLocation, _collection._headers._ContentLocation);
+ _currentKnownType = KnownHeaderType.ContentLocation;
_next = 15;
return true;
}
@@ -6402,6 +6946,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x8000L) != 0)
{
_current = new KeyValuePair(HeaderNames.ContentMD5, _collection._headers._ContentMD5);
+ _currentKnownType = KnownHeaderType.ContentMD5;
_next = 16;
return true;
}
@@ -6409,6 +6954,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x10000L) != 0)
{
_current = new KeyValuePair(HeaderNames.ContentRange, _collection._headers._ContentRange);
+ _currentKnownType = KnownHeaderType.ContentRange;
_next = 17;
return true;
}
@@ -6416,6 +6962,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x20000L) != 0)
{
_current = new KeyValuePair(HeaderNames.Expires, _collection._headers._Expires);
+ _currentKnownType = KnownHeaderType.Expires;
_next = 18;
return true;
}
@@ -6423,233 +6970,299 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x40000L) != 0)
{
_current = new KeyValuePair(HeaderNames.LastModified, _collection._headers._LastModified);
+ _currentKnownType = KnownHeaderType.LastModified;
_next = 19;
return true;
}
- HeaderAccept: // case 19
+ HeaderAuthority: // case 19
if ((_bits & 0x80000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.Accept, _collection._headers._Accept);
+ _current = new KeyValuePair(HeaderNames.Authority, _collection._headers._Authority);
+ _currentKnownType = KnownHeaderType.Authority;
_next = 20;
return true;
}
- HeaderAcceptCharset: // case 20
+ HeaderMethod: // case 20
if ((_bits & 0x100000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.AcceptCharset, _collection._headers._AcceptCharset);
+ _current = new KeyValuePair(HeaderNames.Method, _collection._headers._Method);
+ _currentKnownType = KnownHeaderType.Method;
_next = 21;
return true;
}
- HeaderAcceptEncoding: // case 21
+ HeaderPath: // case 21
if ((_bits & 0x200000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.AcceptEncoding, _collection._headers._AcceptEncoding);
+ _current = new KeyValuePair(HeaderNames.Path, _collection._headers._Path);
+ _currentKnownType = KnownHeaderType.Path;
_next = 22;
return true;
}
- HeaderAcceptLanguage: // case 22
+ HeaderScheme: // case 22
if ((_bits & 0x400000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.AcceptLanguage, _collection._headers._AcceptLanguage);
+ _current = new KeyValuePair(HeaderNames.Scheme, _collection._headers._Scheme);
+ _currentKnownType = KnownHeaderType.Scheme;
_next = 23;
return true;
}
- HeaderAuthorization: // case 23
+ HeaderAccept: // case 23
if ((_bits & 0x800000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.Authorization, _collection._headers._Authorization);
+ _current = new KeyValuePair(HeaderNames.Accept, _collection._headers._Accept);
+ _currentKnownType = KnownHeaderType.Accept;
_next = 24;
return true;
}
- HeaderCookie: // case 24
+ HeaderAcceptCharset: // case 24
if ((_bits & 0x1000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.Cookie, _collection._headers._Cookie);
+ _current = new KeyValuePair(HeaderNames.AcceptCharset, _collection._headers._AcceptCharset);
+ _currentKnownType = KnownHeaderType.AcceptCharset;
_next = 25;
return true;
}
- HeaderExpect: // case 25
+ HeaderAcceptEncoding: // case 25
if ((_bits & 0x2000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.Expect, _collection._headers._Expect);
+ _current = new KeyValuePair(HeaderNames.AcceptEncoding, _collection._headers._AcceptEncoding);
+ _currentKnownType = KnownHeaderType.AcceptEncoding;
_next = 26;
return true;
}
- HeaderFrom: // case 26
+ HeaderAcceptLanguage: // case 26
if ((_bits & 0x4000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.From, _collection._headers._From);
+ _current = new KeyValuePair(HeaderNames.AcceptLanguage, _collection._headers._AcceptLanguage);
+ _currentKnownType = KnownHeaderType.AcceptLanguage;
_next = 27;
return true;
}
- HeaderHost: // case 27
+ HeaderAuthorization: // case 27
if ((_bits & 0x8000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.Host, _collection._headers._Host);
+ _current = new KeyValuePair(HeaderNames.Authorization, _collection._headers._Authorization);
+ _currentKnownType = KnownHeaderType.Authorization;
_next = 28;
return true;
}
- HeaderIfMatch: // case 28
+ HeaderCookie: // case 28
if ((_bits & 0x10000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.IfMatch, _collection._headers._IfMatch);
+ _current = new KeyValuePair(HeaderNames.Cookie, _collection._headers._Cookie);
+ _currentKnownType = KnownHeaderType.Cookie;
_next = 29;
return true;
}
- HeaderIfModifiedSince: // case 29
+ HeaderExpect: // case 29
if ((_bits & 0x20000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.IfModifiedSince, _collection._headers._IfModifiedSince);
+ _current = new KeyValuePair(HeaderNames.Expect, _collection._headers._Expect);
+ _currentKnownType = KnownHeaderType.Expect;
_next = 30;
return true;
}
- HeaderIfNoneMatch: // case 30
+ HeaderFrom: // case 30
if ((_bits & 0x40000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.IfNoneMatch, _collection._headers._IfNoneMatch);
+ _current = new KeyValuePair(HeaderNames.From, _collection._headers._From);
+ _currentKnownType = KnownHeaderType.From;
_next = 31;
return true;
}
- HeaderIfRange: // case 31
+ HeaderHost: // case 31
if ((_bits & 0x80000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.IfRange, _collection._headers._IfRange);
+ _current = new KeyValuePair(HeaderNames.Host, _collection._headers._Host);
+ _currentKnownType = KnownHeaderType.Host;
_next = 32;
return true;
}
- HeaderIfUnmodifiedSince: // case 32
+ HeaderIfMatch: // case 32
if ((_bits & 0x100000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.IfUnmodifiedSince, _collection._headers._IfUnmodifiedSince);
+ _current = new KeyValuePair(HeaderNames.IfMatch, _collection._headers._IfMatch);
+ _currentKnownType = KnownHeaderType.IfMatch;
_next = 33;
return true;
}
- HeaderMaxForwards: // case 33
+ HeaderIfModifiedSince: // case 33
if ((_bits & 0x200000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.MaxForwards, _collection._headers._MaxForwards);
+ _current = new KeyValuePair(HeaderNames.IfModifiedSince, _collection._headers._IfModifiedSince);
+ _currentKnownType = KnownHeaderType.IfModifiedSince;
_next = 34;
return true;
}
- HeaderProxyAuthorization: // case 34
+ HeaderIfNoneMatch: // case 34
if ((_bits & 0x400000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.ProxyAuthorization, _collection._headers._ProxyAuthorization);
+ _current = new KeyValuePair(HeaderNames.IfNoneMatch, _collection._headers._IfNoneMatch);
+ _currentKnownType = KnownHeaderType.IfNoneMatch;
_next = 35;
return true;
}
- HeaderReferer: // case 35
+ HeaderIfRange: // case 35
if ((_bits & 0x800000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.Referer, _collection._headers._Referer);
+ _current = new KeyValuePair(HeaderNames.IfRange, _collection._headers._IfRange);
+ _currentKnownType = KnownHeaderType.IfRange;
_next = 36;
return true;
}
- HeaderRange: // case 36
+ HeaderIfUnmodifiedSince: // case 36
if ((_bits & 0x1000000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.Range, _collection._headers._Range);
+ _current = new KeyValuePair(HeaderNames.IfUnmodifiedSince, _collection._headers._IfUnmodifiedSince);
+ _currentKnownType = KnownHeaderType.IfUnmodifiedSince;
_next = 37;
return true;
}
- HeaderTE: // case 37
+ HeaderMaxForwards: // case 37
if ((_bits & 0x2000000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.TE, _collection._headers._TE);
+ _current = new KeyValuePair(HeaderNames.MaxForwards, _collection._headers._MaxForwards);
+ _currentKnownType = KnownHeaderType.MaxForwards;
_next = 38;
return true;
}
- HeaderTranslate: // case 38
+ HeaderProxyAuthorization: // case 38
if ((_bits & 0x4000000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.Translate, _collection._headers._Translate);
+ _current = new KeyValuePair(HeaderNames.ProxyAuthorization, _collection._headers._ProxyAuthorization);
+ _currentKnownType = KnownHeaderType.ProxyAuthorization;
_next = 39;
return true;
}
- HeaderUserAgent: // case 39
+ HeaderReferer: // case 39
if ((_bits & 0x8000000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.UserAgent, _collection._headers._UserAgent);
+ _current = new KeyValuePair(HeaderNames.Referer, _collection._headers._Referer);
+ _currentKnownType = KnownHeaderType.Referer;
_next = 40;
return true;
}
- HeaderDNT: // case 40
+ HeaderRange: // case 40
if ((_bits & 0x10000000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.DNT, _collection._headers._DNT);
+ _current = new KeyValuePair(HeaderNames.Range, _collection._headers._Range);
+ _currentKnownType = KnownHeaderType.Range;
_next = 41;
return true;
}
- HeaderUpgradeInsecureRequests: // case 41
+ HeaderTE: // case 41
if ((_bits & 0x20000000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.UpgradeInsecureRequests, _collection._headers._UpgradeInsecureRequests);
+ _current = new KeyValuePair(HeaderNames.TE, _collection._headers._TE);
+ _currentKnownType = KnownHeaderType.TE;
_next = 42;
return true;
}
- HeaderRequestId: // case 42
+ HeaderTranslate: // case 42
if ((_bits & 0x40000000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.RequestId, _collection._headers._RequestId);
+ _current = new KeyValuePair(HeaderNames.Translate, _collection._headers._Translate);
+ _currentKnownType = KnownHeaderType.Translate;
_next = 43;
return true;
}
- HeaderCorrelationContext: // case 43
+ HeaderUserAgent: // case 43
if ((_bits & 0x80000000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.CorrelationContext, _collection._headers._CorrelationContext);
+ _current = new KeyValuePair(HeaderNames.UserAgent, _collection._headers._UserAgent);
+ _currentKnownType = KnownHeaderType.UserAgent;
_next = 44;
return true;
}
- HeaderTraceParent: // case 44
+ HeaderDNT: // case 44
if ((_bits & 0x100000000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.TraceParent, _collection._headers._TraceParent);
+ _current = new KeyValuePair(HeaderNames.DNT, _collection._headers._DNT);
+ _currentKnownType = KnownHeaderType.DNT;
_next = 45;
return true;
}
- HeaderTraceState: // case 45
+ HeaderUpgradeInsecureRequests: // case 45
if ((_bits & 0x200000000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.TraceState, _collection._headers._TraceState);
+ _current = new KeyValuePair(HeaderNames.UpgradeInsecureRequests, _collection._headers._UpgradeInsecureRequests);
+ _currentKnownType = KnownHeaderType.UpgradeInsecureRequests;
_next = 46;
return true;
}
- HeaderOrigin: // case 46
+ HeaderRequestId: // case 46
if ((_bits & 0x400000000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.Origin, _collection._headers._Origin);
+ _current = new KeyValuePair(HeaderNames.RequestId, _collection._headers._RequestId);
+ _currentKnownType = KnownHeaderType.RequestId;
_next = 47;
return true;
}
- HeaderAccessControlRequestMethod: // case 47
+ HeaderCorrelationContext: // case 47
if ((_bits & 0x800000000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.AccessControlRequestMethod, _collection._headers._AccessControlRequestMethod);
+ _current = new KeyValuePair(HeaderNames.CorrelationContext, _collection._headers._CorrelationContext);
+ _currentKnownType = KnownHeaderType.CorrelationContext;
_next = 48;
return true;
}
- HeaderAccessControlRequestHeaders: // case 48
+ HeaderTraceParent: // case 48
if ((_bits & 0x1000000000000L) != 0)
{
- _current = new KeyValuePair(HeaderNames.AccessControlRequestHeaders, _collection._headers._AccessControlRequestHeaders);
+ _current = new KeyValuePair(HeaderNames.TraceParent, _collection._headers._TraceParent);
+ _currentKnownType = KnownHeaderType.TraceParent;
_next = 49;
return true;
}
- HeaderContentLength: // case 49
+ HeaderTraceState: // case 49
+ if ((_bits & 0x2000000000000L) != 0)
+ {
+ _current = new KeyValuePair(HeaderNames.TraceState, _collection._headers._TraceState);
+ _currentKnownType = KnownHeaderType.TraceState;
+ _next = 50;
+ return true;
+ }
+ HeaderOrigin: // case 50
+ if ((_bits & 0x4000000000000L) != 0)
+ {
+ _current = new KeyValuePair(HeaderNames.Origin, _collection._headers._Origin);
+ _currentKnownType = KnownHeaderType.Origin;
+ _next = 51;
+ return true;
+ }
+ HeaderAccessControlRequestMethod: // case 51
+ if ((_bits & 0x8000000000000L) != 0)
+ {
+ _current = new KeyValuePair(HeaderNames.AccessControlRequestMethod, _collection._headers._AccessControlRequestMethod);
+ _currentKnownType = KnownHeaderType.AccessControlRequestMethod;
+ _next = 52;
+ return true;
+ }
+ HeaderAccessControlRequestHeaders: // case 52
+ if ((_bits & 0x10000000000000L) != 0)
+ {
+ _current = new KeyValuePair(HeaderNames.AccessControlRequestHeaders, _collection._headers._AccessControlRequestHeaders);
+ _currentKnownType = KnownHeaderType.AccessControlRequestHeaders;
+ _next = 53;
+ return true;
+ }
+ HeaderContentLength: // case 53
if (_collection._contentLength.HasValue)
{
_current = new KeyValuePair(HeaderNames.ContentLength, HeaderUtilities.FormatNonNegativeInt64(_collection._contentLength.Value));
- _next = 50;
+ _currentKnownType = KnownHeaderType.ContentLength;
+ _next = 54;
return true;
}
ExtraHeaders:
if (!_hasUnknown || !_unknownEnumerator.MoveNext())
{
_current = default(KeyValuePair);
+ _currentKnownType = default;
return false;
}
_current = _unknownEnumerator.Current;
+ _currentKnownType = KnownHeaderType.Unknown;
return true;
}
}
@@ -11679,6 +12292,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x1L) != 0)
{
_current = new KeyValuePair(HeaderNames.CacheControl, _collection._headers._CacheControl);
+ _currentKnownType = KnownHeaderType.CacheControl;
_next = 1;
return true;
}
@@ -11686,6 +12300,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x2L) != 0)
{
_current = new KeyValuePair(HeaderNames.Connection, _collection._headers._Connection);
+ _currentKnownType = KnownHeaderType.Connection;
_next = 2;
return true;
}
@@ -11693,6 +12308,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
if ((_bits & 0x4L) != 0)
{
_current = new KeyValuePair