Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build/dependencies.props
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project>
<PropertyGroup>
<AspNetCoreVersion>1.2.0-*</AspNetCoreVersion>
<CoreFxLabsPipelinesVersion>0.1.0-e170313-1</CoreFxLabsPipelinesVersion>
<CoreFxLabsVersion>0.1.0-e170313-1</CoreFxLabsVersion>
<CoreFxLabsPipelinesVersion>0.1.0-*</CoreFxLabsPipelinesVersion>
<CoreFxLabsVersion>0.1.0-*</CoreFxLabsVersion>
<CoreFxVersion>4.3.0</CoreFxVersion>
<LibUvVersion>1.9.1</LibUvVersion>
<JsonNetVersion>9.0.1</JsonNetVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public unsafe bool ParseRequestLine<T>(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);
Expand Down Expand Up @@ -255,7 +255,7 @@ public unsafe bool ParseHeaders<T>(T handler, ReadableBuffer buffer, out ReadCur
index = reader.Index;
}

var endIndex = new Span<byte>(pBuffer + index, remaining).IndexOfVectorized(ByteLF);
var endIndex = new Span<byte>(pBuffer + index, remaining).SequentialIndexOf(ByteLF);
var length = 0;

if (endIndex != -1)
Expand Down