8 references to ByteLF
Microsoft.AspNetCore.Server.Kestrel.Core (8)
Internal\Http\HttpParser.cs (8)
64
private static ReadOnlySpan<byte> RequestLineDelimiters => [
ByteLF
, 0];
115
array[^1] =
ByteLF
;
152
index = memory.Span.IndexOfAny(ByteCR,
ByteLF
);
231
if (headerSpan[^1] ==
ByteLF
)
598
if (span.Length >= 2 && span[0] == ByteCR && span[1] ==
ByteLF
)
608
var lfOrCrIndex = span.IndexOfAny(ByteCR,
ByteLF
);
622
if ((uint)span.Length > (uint)(crIndex + 1) && span[crIndex + 1] ==
ByteLF
)
627
else if ((hasDataAfterCr = reader.TryPeek(out byte lfMaybe)) && lfMaybe ==
ByteLF
)