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