diff --git a/src/Servers/Kestrel/Core/src/Internal/Http/HttpParser.cs b/src/Servers/Kestrel/Core/src/Internal/Http/HttpParser.cs index 94330f2b3403e29b21905df4b475d9e791ff0b27..cdf9483bd8072680c980f3b9ca469409d263b4b3 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http/HttpParser.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http/HttpParser.cs @@ -144,7 +144,7 @@ public class HttpParser<TRequestHandler> : IHttpParser<TRequestHandler> where TR var span = reader.UnreadSpan; while (span.Length > 0) { - var ch1 = (byte)0; + byte ch1; var ch2 = (byte)0; var readAhead = 0;