8 references to ByteLF
Microsoft.AspNetCore.Server.Kestrel.Core (8)
Internal\Http\HttpParser.cs (8)
57
private static ReadOnlySpan<byte> RequestLineDelimiters => [
ByteLF
, 0];
204
if (span.Length >= 2 && span[0] == ByteCR && span[1] ==
ByteLF
)
213
var lfOrCrIndex = span.IndexOfAny(ByteCR,
ByteLF
);
224
if ((uint)span.Length > (uint)(crIndex + 1) && span[crIndex + 1] ==
ByteLF
)
230
else if ((hasDataAfterCr = reader.TryPeek(out byte lfMaybe)) && lfMaybe ==
ByteLF
)
324
array[^1] =
ByteLF
;
357
index = memory.Span.IndexOfAny(ByteCR,
ByteLF
);
435
if (headerSpan[^1] ==
ByteLF
)