Update packages (#1509)

* Update packages
* React to API changes in corefxlab
This commit is contained in:
David Fowler 2017-03-18 15:42:01 -07:00 committed by GitHub
parent 1094cc0670
commit f6e5e74d95
2 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -36,7 +36,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Internal.Http
// 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 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Internal.Http
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)