[NOJIRA] - If request protocol doesn't start with "HTTP" - http logging middleware responds with an error indicating the request protocol is invalid. #58781
Build #20241104.11 failed
Details
- Failed: 0 (0.00%)
- Passed: 1,259 (99.21%)
- Other: 10 (0.79%)
- Total: 1,269
Annotations
Check failure on line 74 in src/Middleware/HttpLogging/src/HttpLoggingMiddleware.cs
azure-pipelines / aspnetcore-ci
src/Middleware/HttpLogging/src/HttpLoggingMiddleware.cs#L74
src/Middleware/HttpLogging/src/HttpLoggingMiddleware.cs(74,13): error CS4032: (NETCORE_ENGINEERING_TELEMETRY=Build) The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to 'Task<Task>'.
Check failure on line 51 in src/Middleware/HttpLogging/src/HttpLoggingMiddleware.cs
azure-pipelines / aspnetcore-ci
src/Middleware/HttpLogging/src/HttpLoggingMiddleware.cs#L51
src/Middleware/HttpLogging/src/HttpLoggingMiddleware.cs(51,13): error CA1310: (NETCORE_ENGINEERING_TELEMETRY=Build) The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'Microsoft.AspNetCore.HttpLogging.HttpLoggingMiddleware.Invoke(Microsoft.AspNetCore.Http.HttpContext)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
Check failure on line 74 in artifacts/sb/src/src/Middleware/HttpLogging/src/HttpLoggingMiddleware.cs
azure-pipelines / aspnetcore-ci
artifacts/sb/src/src/Middleware/HttpLogging/src/HttpLoggingMiddleware.cs#L74
artifacts/sb/src/src/Middleware/HttpLogging/src/HttpLoggingMiddleware.cs(74,13): error CS4032: (NETCORE_ENGINEERING_TELEMETRY=Build) The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to 'Task<Task>'.
Check failure on line 51 in artifacts/sb/src/src/Middleware/HttpLogging/src/HttpLoggingMiddleware.cs
azure-pipelines / aspnetcore-ci
artifacts/sb/src/src/Middleware/HttpLogging/src/HttpLoggingMiddleware.cs#L51
artifacts/sb/src/src/Middleware/HttpLogging/src/HttpLoggingMiddleware.cs(51,13): error CA1310: (NETCORE_ENGINEERING_TELEMETRY=Build) The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'Microsoft.AspNetCore.HttpLogging.HttpLoggingMiddleware.Invoke(Microsoft.AspNetCore.Http.HttpContext)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)