10 references to ByteCR
Microsoft.AspNetCore.Server.Kestrel.Core (10)
Internal\Http\HttpParser.cs (10)
103
array[^2] =
ByteCR
;
136
index = memory.Span.IndexOfAny(
ByteCR
, ByteLF);
160
if (memory.Span[index] ==
ByteCR
)
176
if (memory.Span[index] ==
ByteCR
)
214
if (headerSpan[^2] ==
ByteCR
)
491
if ((uint)offset + 9 != (uint)requestLine.Length || requestLine[offset + 8] !=
ByteCR
)
510
var versionLength = remaining.Length > 0 && remaining[^1] ==
ByteCR
? remaining.Length - 1 : remaining.Length;
570
if (span.Length >= 2 && span[0] ==
ByteCR
&& span[1] == ByteLF)
580
var lfOrCrIndex = span.IndexOfAny(
ByteCR
, ByteLF);
585
if (span[lfOrCrIndex] ==
ByteCR
)