diff --git a/build/dependencies.props b/build/dependencies.props index 74d0c3c23..cc4fbc7fd 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -1,8 +1,8 @@ 1.2.0-* - 0.1.0-e170313-1 - 0.1.0-e170313-1 + 0.1.0-* + 0.1.0-* 4.3.0 1.9.1 9.0.1 diff --git a/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Http/KestrelHttpParser.cs b/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Http/KestrelHttpParser.cs index 71a49c2f4..e76515b04 100644 --- a/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Http/KestrelHttpParser.cs +++ b/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Http/KestrelHttpParser.cs @@ -36,7 +36,7 @@ public unsafe bool ParseRequestLine(T handler, ReadableBuffer buffer, out Rea // Prepare the first span var span = buffer.First.Span; - var lineIndex = span.IndexOfVectorized(ByteLF); + var lineIndex = span.SequentialIndexOf(ByteLF); if (lineIndex >= 0) { consumed = buffer.Move(consumed, lineIndex + 1); @@ -255,7 +255,7 @@ public unsafe bool ParseHeaders(T handler, ReadableBuffer buffer, out ReadCur index = reader.Index; } - var endIndex = new Span(pBuffer + index, remaining).IndexOfVectorized(ByteLF); + var endIndex = new Span(pBuffer + index, remaining).SequentialIndexOf(ByteLF); var length = 0; if (endIndex != -1)