Merge branch 'release' into dev
This commit is contained in:
commit
7f0602d2b1
|
|
@ -327,21 +327,12 @@ namespace Microsoft.AspNetCore.WebUtilities
|
|||
builder.WriteByte(b);
|
||||
_bufferOffset++;
|
||||
_bufferCount--;
|
||||
if (b == CR)
|
||||
if (b == LF && foundCR)
|
||||
{
|
||||
foundCR = true;
|
||||
}
|
||||
else if (b == LF)
|
||||
{
|
||||
if (foundCR)
|
||||
{
|
||||
foundCRLF = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
foundCR = false;
|
||||
}
|
||||
foundCRLF = true;
|
||||
return;
|
||||
}
|
||||
foundCR = b == CR;
|
||||
}
|
||||
|
||||
private string DecodeLine(MemoryStream builder, bool foundCRLF)
|
||||
|
|
|
|||
Loading…
Reference in New Issue